fix: align proposed parameter with actual name. (#208)

This commit is contained in:
Lapo Luchini 2022-02-18 00:17:34 +01:00 committed by GitHub
parent af33cd9061
commit 877a9ffa0a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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 {