Skip to content

Commit

Permalink
feat: metric names same as for Kratos
Browse files Browse the repository at this point in the history
  • Loading branch information
nipsufn authored and hperl committed Jun 23, 2022
1 parent 8971c01 commit 315ff41
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/driver/registry_default.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
Expand Down

0 comments on commit 315ff41

Please sign in to comment.