php-fpm-exporter icon indicating copy to clipboard operation
php-fpm-exporter copied to clipboard

update call to NewProcessCollector

Open olivierbeytrison opened this issue 1 year ago • 0 comments

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

olivierbeytrison avatar Aug 17 '23 12:08 olivierbeytrison