Remove "total" suffix from dns_memory_used_bytes

Metric is a gauge and therefore should not have the "total" suffix.
This commit is contained in:
Ben Reedy
2021-01-27 07:24:23 +10:00
parent 7456afecae
commit 556138189a

View File

@@ -81,8 +81,8 @@ func NewDNSCollector() (Collector, error) {
nil, nil,
), ),
MemoryUsedBytes: prometheus.NewDesc( MemoryUsedBytes: prometheus.NewDesc(
prometheus.BuildFQName(Namespace, subsystem, "memory_used_bytes_total"), prometheus.BuildFQName(Namespace, subsystem, "memory_used_bytes"),
"Total memory used by DNS server", "Current memory used by DNS server",
[]string{"area"}, []string{"area"},
nil, nil,
), ),