Skip to content

Commit

Permalink
fix: Fixing cardinality of metrics for geocoding
Browse files Browse the repository at this point in the history
Signed-off-by: Vincent Boutour <[email protected]>
  • Loading branch information
ViBiOh committed Nov 13, 2021
1 parent aca6c2a commit 6014440
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/geocode/geocode.go
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ func New(config Config, prometheusRegisterer prometheus.Registerer) (App, error)

return App{
geocodeReq: request.New().Header("User-Agent", "fibr, reverse geocoding from exif data").Get(geocodeURL),
metric: prom.CounterVec(prometheusRegisterer, "exas", "", "geocode"),
metric: prom.CounterVec(prometheusRegisterer, "exas", "", "geocode", "state"),
ticker: ticker,
}, nil
}
Expand Down

0 comments on commit 6014440

Please sign in to comment.