Skip to main content

Metrics with Prometheus

Install Prometheus

Kubernetes:
Docker Compose:

Prometheus Configuration

prometheus.yml:

Application Metrics

Instrument FastAPI with Prometheus:

Custom Business Metrics

Next Steps

Distributed Tracing

Add distributed tracing with Jaeger

Grafana Dashboards

Create dashboards to visualize metrics

Alerting

Configure alerts based on metrics

Back to Overview

Return to monitoring overview