diff --git a/server/server_metrics.go b/server/server_metrics.go index d7737ab180..ffcb0a1f6e 100644 --- a/server/server_metrics.go +++ b/server/server_metrics.go @@ -15,7 +15,10 @@ func (s *Server) setupTelemetry() error { inm := metrics.NewInmemSink(10*time.Second, time.Minute) metrics.DefaultInmemSignal(inm) - promSink, err := prometheus.NewPrometheusSink() + promSink, err := prometheus.NewPrometheusSinkFrom(prometheus.PrometheusOpts{ + Name: "edge_prometheus_sink", + Expiration: 0, + }) if err != nil { return err }