Getting Started: Monitoring a FastAPI App with Grafana and Prometheus - A Step-by-Step Guide

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
  • Fast-Api-example

    Simple asynchronous API implemented with Fast-Api framework utilizing Postgres as a Database and SqlAlchemy as ORM . GitHub Actions as CI/CD Pipeline

  • Inorder to keep we'll use an existing FastAPI app for this guide. You can clone the repo here. However, if you want to create/use your own FastAPI app, feel free to do so.

  • Fast-Api-Grafana-Starter

    Simple asynchronous API implemented with Fast-Api framework utilizing Postgres as a Database and SqlAlchemy as ORM . Grafana for monitoring using Prometheus

  • Feel free to use my Grafana dashboard as a starting point. Find the JSON file in the GitHub repo.

  • 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.

    WorkOS logo
  • docker

    Docker - the open-source application container engine (by microsoft)

  • Docker

  • prometheus

    The Prometheus monitoring system and time series database.

  • Prometheus

  • 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

  • fastapi

    FastAPI framework, high performance, easy to learn, fast to code, ready for production

  • FastAPI

  • Docker Compose

    Define and run multi-container applications with Docker

  • Docker Compose

  • 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.

    InfluxDB logo
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