#9 Update metrics documentation
This commit is contained in:
parent
fa24ebae1a
commit
317e65f893
1 changed files with 3 additions and 3 deletions
|
@ -101,19 +101,19 @@ func NewExporter(pm PoolManager) *Exporter {
|
||||||
|
|
||||||
idleProcesses: prometheus.NewDesc(
|
idleProcesses: prometheus.NewDesc(
|
||||||
prometheus.BuildFQName(namespace, "", "idle_processes"),
|
prometheus.BuildFQName(namespace, "", "idle_processes"),
|
||||||
"The number of idle processes.",
|
"The number of idle processes (--fix-process-count will count processes in state Idle).",
|
||||||
[]string{"pool"},
|
[]string{"pool"},
|
||||||
nil),
|
nil),
|
||||||
|
|
||||||
activeProcesses: prometheus.NewDesc(
|
activeProcesses: prometheus.NewDesc(
|
||||||
prometheus.BuildFQName(namespace, "", "active_processes"),
|
prometheus.BuildFQName(namespace, "", "active_processes"),
|
||||||
"The number of active processes.",
|
"The number of active processes (--fix-process-count will count processes in state Running).",
|
||||||
[]string{"pool"},
|
[]string{"pool"},
|
||||||
nil),
|
nil),
|
||||||
|
|
||||||
totalProcesses: prometheus.NewDesc(
|
totalProcesses: prometheus.NewDesc(
|
||||||
prometheus.BuildFQName(namespace, "", "total_processes"),
|
prometheus.BuildFQName(namespace, "", "total_processes"),
|
||||||
"The number of idle + active processes.",
|
"The number of idle + active processes (--fix-process-count will count all processes regardless of state).",
|
||||||
[]string{"pool"},
|
[]string{"pool"},
|
||||||
nil),
|
nil),
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue