bakins / php-fpm-exporter

Prometheus exporter for php-fpm status.
MIT License
203 stars 46 forks source link

update call to NewProcessCollector #48

Open olivierbeytrison opened 1 year ago

olivierbeytrison commented 1 year ago

While trying to build the code, got the following error :

./exporter.go:140:68: too many arguments in call to prometheus.NewProcessCollector
        have (int, string)
        want (prometheus.ProcessCollectorOpts)

Fixed by using the default struct