Skip to content

Commit

Permalink
Fix lint
Browse files Browse the repository at this point in the history
Signed-off-by: George Robinson <george.robinson@grafana.com>
  • Loading branch information
grobinson-grafana committed Jan 4, 2024
1 parent 9e72f8b commit de867ea
Showing 1 changed file with 6 additions and 10 deletions.
16 changes: 6 additions & 10 deletions matchers/compat/metrics.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,21 +18,17 @@ import (
"github.com/prometheus/client_golang/prometheus/promauto"
)

var (
RegisteredMetrics = NewMetrics(prometheus.DefaultRegisterer)
)

const (
OriginAPI = "api"
OriginConfig = "config"
)

var (
DefaultOrigins = []string{
OriginAPI,
OriginConfig,
}
)
var DefaultOrigins = []string{
OriginAPI,
OriginConfig,
}

var RegisteredMetrics = NewMetrics(prometheus.DefaultRegisterer)

type Metrics struct {
Total *prometheus.GaugeVec
Expand Down

0 comments on commit de867ea

Please sign in to comment.