GeistHaus
log in · sign up

Monitoring Rust web application with Prometheus and Grafana

romankudryashov.com

Table of Contents Overview Exposing Prometheus metrics in a Rust application Metrics definition Counter Gauge Histogram System metrics Endpoint for metrics exposition Prometheus setup for metrics gathering Expression browser and graphing interface Grafana setup for metrics visualization Monitoring metrics of application container using cAdvisor Setup of alert notifications using rules and AlertManager Monitoring third-party systems using Prometheus exporters Launch Conclusion Useful links Overview In this article, I’ll show you how to set up monitoring of a Rust web application. The application will expose Prometheus metrics that will be visualized using Grafana. The monitored application is mongodb-redis demo described in detail here. Finally, the following architecture will be obtained:

0 pages link to this URL

No pages have linked to this URL yet.