fix: align proposed parameter with actual name. (#208)
This commit is contained in:
parent
af33cd9061
commit
877a9ffa0a
1 changed files with 1 additions and 1 deletions
|
@ -189,7 +189,7 @@ func (e *Exporter) Collect(ch chan<- prometheus.Metric) {
|
||||||
|
|
||||||
active, idle, total := CountProcessState(pool.Processes)
|
active, idle, total := CountProcessState(pool.Processes)
|
||||||
if !e.CountProcessState && (active != pool.ActiveProcesses || idle != pool.IdleProcesses) {
|
if !e.CountProcessState && (active != pool.ActiveProcesses || idle != pool.IdleProcesses) {
|
||||||
log.Error("Inconsistent active and idle processes reported. Set `--fix-process-count` to have this calculated by php-fpm_exporter instead.")
|
log.Error("Inconsistent active and idle processes reported. Set `--phpfpm.fix-process-count` to have this calculated by php-fpm_exporter instead.")
|
||||||
}
|
}
|
||||||
|
|
||||||
if !e.CountProcessState {
|
if !e.CountProcessState {
|
||||||
|
|
Loading…
Reference in a new issue