From 877a9ffa0a7dd78323fb230e7842bd9d551987ba Mon Sep 17 00:00:00 2001 From: Lapo Luchini Date: Fri, 18 Feb 2022 00:17:34 +0100 Subject: [PATCH] fix: align proposed parameter with actual name. (#208) --- phpfpm/exporter.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/phpfpm/exporter.go b/phpfpm/exporter.go index e85ab4c..67f271e 100644 --- a/phpfpm/exporter.go +++ b/phpfpm/exporter.go @@ -189,7 +189,7 @@ func (e *Exporter) Collect(ch chan<- prometheus.Metric) { active, idle, total := CountProcessState(pool.Processes) 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 {