trustpilot / beat-exporter

Elastic beat-exporter for Prometheus
MIT License
207 stars 68 forks source link

APM Server support #49

Open xco-sk opened 3 years ago

xco-sk commented 3 years ago

This PR adds the full (as of APM server v7.10.1) support with all the APM Server metrics exported. Alongside with the addition of APM-server-specific metrics, the general issue with the APM server beat name (name containing "-" between apm and server) has been fixed.

Feature successfully tested with APM server v7.10.1, other versions are yet to be tested, but considering the size of this change, I would like to start with feedback loops. I will also test the metric and filebeats for potential regression. I will post the results here.

Closes #42

erik-bizzdo commented 2 years ago

I am the author of issue #42. I built a local image of beat-exporter with this pull request applied and deployed the image as a second container inside my apm-server pod. Beat-exporter now extracts metrics from apm-server and exposes the metrics as expected to Prometheus. My Prometheus scrapes them without any problem.

Thank you for this. Now I can finally get to the bottom of my apm-server performance issues.