Skip to content

Latest commit

 

History

History
40 lines (28 loc) · 1.01 KB

README.md

File metadata and controls

40 lines (28 loc) · 1.01 KB

FastAPI observability

This preset is designed to provide a set of tools to monitor and observe the FastAPI microservices.


Microservice example

Inspired by FastAPI observability


Tools

  • Prometheus - Monitoring system and time series database
  • Grafana - Visualization and monitoring tool
  • Tempo - Distributed tracing system
  • Loki - Log aggregation system

Installation

  1. Install Loki plugin
    docker plugin install grafana/loki-docker-driver:2.9.2 --alias loki --grant-all-permissions
  2. Set microservice URLs
    nano ./obs/prometheus/prometheus.yml
  3. Start the services
    make up

Screenshots

dashboard_metrics.png dashboards_logs.png

Made with ❤️