Skip to content

Commit

Permalink
Fix: mime type prometheus counter
Browse files Browse the repository at this point in the history
  • Loading branch information
aopoltorzhicky committed Dec 17, 2021
1 parent 4846363 commit b3e0314
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/metadata/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ func initPrometheus(cfg *golibConfig.Prometheus) *prometheus.Service {
prometheusService.RegisterGoBuildMetrics()
prometheusService.RegisterCounter(metricMetadataCounter, "Count of metadata", "type", "status", "network")
prometheusService.RegisterCounter(metricsMetadataHttpErrors, "Count of HTTP errors in metadata", "network", "code", "type")
prometheusService.RegisterCounter(metricsMetadataMimeType, "Count of metadata mime types", "network", "type", "mime")
prometheusService.RegisterCounter(metricsMetadataMimeType, "Count of metadata mime types", "network", "mime")

prometheusService.Start()
return prometheusService
Expand Down

0 comments on commit b3e0314

Please sign in to comment.