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
No known key found for this signature in database
GPG Key ID: 235C15B6086C9D7E
1 changed files with 2 additions and 2 deletions

View File

@ -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,
),