diff --git a/phpfpm/exporter.go b/phpfpm/exporter.go index e644715..e85ab4c 100644 --- a/phpfpm/exporter.go +++ b/phpfpm/exporter.go @@ -213,7 +213,7 @@ func (e *Exporter) Collect(ch chan<- prometheus.Metric) { for childNumber, process := range pool.Processes { childName := fmt.Sprintf("%d", childNumber) - + states := map[string]int{ PoolProcessRequestIdle: 0, PoolProcessRequestRunning: 0,