diff --git a/storage/memory/peer_store.go b/storage/memory/peer_store.go index ae61ee1..a759d7c 100644 --- a/storage/memory/peer_store.go +++ b/storage/memory/peer_store.go @@ -28,13 +28,13 @@ func init() { } var promGCDurationMilliseconds = prometheus.NewHistogram(prometheus.HistogramOpts{ - Name: "chihaya_storage_gc_duration_milliseconds", + Name: "chihaya_storage_memory_gc_duration_milliseconds", Help: "The time it takes to perform storage garbage collection", Buckets: prometheus.ExponentialBuckets(9.375, 2, 10), }) var promInfohashesCount = prometheus.NewGauge(prometheus.GaugeOpts{ - Name: "chihaya_storage_infohashes_count", + Name: "chihaya_storage_memory_infohashes_count", Help: "The number of infohashes tracked", }) diff --git a/storage/memorybysubnet/peer_store.go b/storage/memorybysubnet/peer_store.go index 22de2e6..957f0d5 100644 --- a/storage/memorybysubnet/peer_store.go +++ b/storage/memorybysubnet/peer_store.go @@ -28,13 +28,13 @@ func init() { } var promGCDurationMilliseconds = prometheus.NewHistogram(prometheus.HistogramOpts{ - Name: "chihaya_storage_gc_duration_milliseconds", + Name: "chihaya_storage_memorybysubnet_gc_duration_milliseconds", Help: "The time it takes to perform storage garbage collection", Buckets: prometheus.ExponentialBuckets(9.375, 2, 10), }) var promInfohashesCount = prometheus.NewGauge(prometheus.GaugeOpts{ - Name: "chihaya_storage_infohashes_count", + Name: "chihaya_storage_memorybysubnet_infohashes_count", Help: "The number of Infohashes tracked", })