sysulq / nginx-vts-exporter

Simple server that scrapes Nginx vts stats and exports them via HTTP for Prometheus consumption
https://sysulq.github.io/nginx-vts-exporter/
MIT License
645 stars 142 forks source link

Export Go Process Metrics #84

Closed pritpal-sabharwal closed 3 years ago

pritpal-sabharwal commented 4 years ago

I noticed that Go process metrics are intentionally not being exported:

https://github.com/hnlq715/nginx-vts-exporter/blob/60540c64a6a13341923e93bb65bbfad11b78939e/nginx_vts_exporter.go#L377-L378

I think it would make sense making this a configurable option. If there is no objection, I'm happy submitting a PR with the changes.

pritpal-sabharwal commented 4 years ago

See https://github.com/hnlq715/nginx-vts-exporter/pull/85

sysulq commented 4 years ago

@pritpal-sabharwal Thanks for you contribution!