php-fpm-exporter
php-fpm-exporter copied to clipboard
update call to NewProcessCollector
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