From 556138189a387fbbcaed74a164e0da9759d7cb20 Mon Sep 17 00:00:00 2001 From: Ben Reedy Date: Wed, 27 Jan 2021 07:24:23 +1000 Subject: [PATCH] Remove "total" suffix from dns_memory_used_bytes Metric is a gauge and therefore should not have the "total" suffix. --- collector/dns.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/collector/dns.go b/collector/dns.go index f869827b..d9ec9d91 100644 --- a/collector/dns.go +++ b/collector/dns.go @@ -81,8 +81,8 @@ func NewDNSCollector() (Collector, error) { nil, ), MemoryUsedBytes: prometheus.NewDesc( - prometheus.BuildFQName(Namespace, subsystem, "memory_used_bytes_total"), - "Total memory used by DNS server", + prometheus.BuildFQName(Namespace, subsystem, "memory_used_bytes"), + "Current memory used by DNS server", []string{"area"}, nil, ),