mirror of
https://github.com/prometheus-community/windows_exporter.git
synced 2026-02-24 05:36:36 +00:00
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:
@@ -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,
|
||||||
),
|
),
|
||||||
|
|||||||
Reference in New Issue
Block a user