hipages / php-fpm_exporter

A prometheus exporter for PHP-FPM.
Apache License 2.0
592 stars 119 forks source link

Kubernetes example and Grafana dashboard #104

Closed andresterba closed 3 years ago

andresterba commented 4 years ago

First of all, thanks for the exporter :tada: It works perfect in my setup!

As there is currently no documentation how to get started within k8s I have created a simple example.

I have also adjusted the Grafana dashboard a bit as some parts did not work (some queries used container_name instead of container). I am not so sure if this is specific to my setup or something changed with Prometheus/Exporters/Grafana.

If this is just broken at the moment is there any way I can contribute to the dashboard?

estahn commented 4 years ago

@andresterba I was meant to create some documentation on how to run it in Kubernetes but never came around it. So great effort!

The Grafana dashboard as published was too tightly coupled to our internal labels. Cleaning it up and putting it into the repository would be helpful for many I believe.

I'm accepting pull requests.

webframp commented 4 years ago

Would greatly appreciate this too. Doing some early testing now and trying to sort out what further customization I'll need to do to the grafana dashboard. The "dependencies on internal branch deployment" are a bit unclear.

andresterba commented 4 years ago

I've created this PR https://github.com/hipages/php-fpm_exporter/pull/106 with a more generic dashboard. For now it provides only a namespace filter.

stale[bot] commented 3 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

stale[bot] commented 3 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.