Monitoring Rust web application with Prometheus and Grafana

This page summarizes the projects mentioned and recommended in the original post on dev.to

Our great sponsors
  • WorkOS - The modern identity platform for B2B SaaS
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • SaaSHub - Software Alternatives and Reviews
  • exploring-rust-ecosystem

    A set of examples that demonstrate how to create a backend application using Rust ecosystem

    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:

  • cadvisor

    Analyzes resource usage and performance characteristics of running containers.

    cAdvisor — a platform providing container users an understanding of the resource usage and performance characteristics of their running containers. (Actually, it gathers information on all Docker containers on the scheme)

  • WorkOS

    The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.

  • prometheus

    The Prometheus monitoring system and time series database.

    Prometheus — monitoring platform which collects real-time metrics and records them in a time series database

  • rust-prometheus

    Prometheus instrumentation library for Rust applications

    Metrics exposition is implemented with prometheus crate.

  • Grafana

    The open and composable observability and data visualization platform. Visualize metrics, logs, and traces from multiple sources like Prometheus, Loki, Elasticsearch, InfluxDB, Postgres and many more.

    Grafana — observability and data visualization platform

  • docs

    Prometheus documentation: content and static site generator (by prometheus)

    Metrics are exposed in a simple text-based format.

  • node_exporter

    Exporter for machine metrics

    System metrics of machines can be exported with Node exporter or Windows exporter.

  • InfluxDB

    Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.

  • windows_exporter

    Prometheus exporter for Windows machines

    System metrics of machines can be exported with Node exporter or Windows exporter.

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts