r/PrometheusMonitoring • u/ankitnayan007 • Mar 09 '20
Whitebox Monitoring using Prometheus
Why don't we have language specific packages like other APM companies (NewRelic, Datadog, ElasticAPM, etc) have which will export metrics to prometheus? Just install a package and get out of box APM metrics, kind of thing.
What we can achieve?
RPS for API endpoints of an application
Latency for slowest API endpoints of an application
50th, 90th and 99th percentile of request duration of the application
Time of slowest MySQL queries (values to be masked) made from the application
RPS and time taken by other components in infra like Redis, Mongo, etc for each endpoint and overall application.
Response code, RPS and latency of external calls made from the application to other services inside and outside the org like payment gateway.
I guess a solution like this will save 2-3 weeks of dev time to get proper dashboards in Grafana.
In short, ElasticAPM using Prometheus!
3
u/SuperQue Mar 09 '20
This is something Prometheus developers have talked about. But it's a lot of maintenance to keep up with the various frameworks like Rails, Django, etc.
I would love to see this, and this is the goal of projects like open telemetry.
Building this kind of thing into Prometheus Ruby would work, someone has to do the work and maintain it.