From 315ff41765aa9e34366c450d6dd0a9cc964f1b9c Mon Sep 17 00:00:00 2001 From: nipsufn Date: Thu, 23 Jun 2022 12:46:24 +0200 Subject: [PATCH] feat: metric names same as for Kratos --- internal/driver/registry_default.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/driver/registry_default.go b/internal/driver/registry_default.go index 010ced836..733a91876 100644 --- a/internal/driver/registry_default.go +++ b/internal/driver/registry_default.go @@ -126,7 +126,7 @@ func (r *RegistryDefault) MetricsHandler() *prometheus.Handler { func (r *RegistryDefault) PrometheusManager() *prometheus.MetricsManager { if r.pmm == nil { - r.pmm = prometheus.NewMetricsManager("keto", config.Version, config.Commit, config.Date) + r.pmm = prometheus.NewMetricsManagerWithPrefix("keto", prometheus.HTTPMetrics, config.Version, config.Commit, config.Date) } return r.pmm }