Add unit suffix to process working_set metric

Signed-off-by: Ben Reedy <breed808@breed808.com>
This commit is contained in:
Ben Reedy
2021-06-19 08:54:39 +10:00
parent e4d7604193
commit ad447a6b08
2 changed files with 2 additions and 2 deletions

View File

@@ -144,7 +144,7 @@ func newProcessCollector() (Collector, error) {
nil,
),
WorkingSet: prometheus.NewDesc(
prometheus.BuildFQName(Namespace, subsystem, "working_set"),
prometheus.BuildFQName(Namespace, subsystem, "working_set_bytes"),
"Maximum number of bytes in the working set of this process at any point in time. The working set is the set of memory pages touched recently by the threads in the process.",
[]string{"process", "process_id", "creating_process_id"},
nil,