fluent / fluent-plugin-prometheus

A fluent plugin that collects metrics and exposes for Prometheus.
Apache License 2.0
258 stars 79 forks source link

Added new endpoint /metrics_all to retreive metrics from all workers #109

Closed alexlry closed 5 years ago

alexlry commented 5 years ago

New endpoint /metrics_all to retreive metrics from all workers in a single HTTP request. Internally calls each worker on their HTTP /metrics endpoint.

kazegusuri commented 5 years ago

I like this idea! It's a bit hack, but it might be very helpful for everyone.

kazegusuri commented 5 years ago

almost LGTM. Please address my comments and also squash commits to be cleaner.

alexlry commented 5 years ago

Thank you very much for your time reviewing this! I applied all your comments and squashed commits as requested.

kazegusuri commented 5 years ago

LGTM. Thanks for the great work!!