diff --git a/client/daemon/metrics/metrics.go b/client/daemon/metrics/metrics.go index 1a9580629..a5f35ba4c 100644 --- a/client/daemon/metrics/metrics.go +++ b/client/daemon/metrics/metrics.go @@ -120,28 +120,28 @@ var ( SeedPeerDownloadCount = promauto.NewCounter(prometheus.CounterOpts{ Namespace: constants.MetricsNamespace, - Subsystem: constants.CDNMetricsName, + Subsystem: constants.DfdaemonMetricsName, Name: "seed_peer_download_total", Help: "Counter of the number of the seed peer downloading.", }) SeedPeerDownloadFailureCount = promauto.NewCounter(prometheus.CounterOpts{ Namespace: constants.MetricsNamespace, - Subsystem: constants.CDNMetricsName, + Subsystem: constants.DfdaemonMetricsName, Name: "seed_peer_download_failure_total", Help: "Counter of the number of failed of the seed peer downloading.", }) SeedPeerDownloadTraffic = promauto.NewCounterVec(prometheus.CounterOpts{ Namespace: constants.MetricsNamespace, - Subsystem: constants.CDNMetricsName, + Subsystem: constants.DfdaemonMetricsName, Name: "seed_peer_download_traffic", Help: "Counter of the number of seed peer download traffic.", }, []string{"type"}) SeedPeerConcurrentDownloadGauge = promauto.NewGauge(prometheus.GaugeOpts{ Namespace: constants.MetricsNamespace, - Subsystem: constants.CDNMetricsName, + Subsystem: constants.DfdaemonMetricsName, Name: "seed_peer_concurrent_download_total", Help: "Gauger of the number of concurrent of the seed peer downloading.", })