Skip to content

Commit

Permalink
Update linter to ignore client metrics
Browse files Browse the repository at this point in the history
Signed-off-by: João Vilaça <jvilaca@redhat.com>
  • Loading branch information
machadovilaca committed Feb 14, 2024
1 parent 8586dd1 commit 8b2440d
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion tools/prom-metrics-collector/metrics_collector.go
Expand Up @@ -33,7 +33,10 @@ import (
// https://sdk.operatorframework.io/docs/best-practices/observability-best-practices/#metrics-guidelines
// should be ignored.
var excludedMetrics = map[string]struct{}{
"kubevirt_vmi_phase_count": struct{}{},
"kubevirt_vmi_phase_count": {},
"rest_client_rate_limiter_duration_seconds": {},
"rest_client_request_latency_seconds": {},
"rest_client_requests_total": {},
}

// Extract the name, help, and type from the metrics doc file
Expand Down

0 comments on commit 8b2440d

Please sign in to comment.