#9 Update metrics documentation

This commit is contained in:
Enrico Stahn 2018-02-27 15:57:50 +11:00
parent fa24ebae1a
commit 317e65f893
No known key found for this signature in database
GPG key ID: 5263621C269A50DE

View file

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