In this 5min hands-on video I explain how to take a Python FastAPI application and instrument it to make it “Prometheus enabled”.
The app will begin emitting metrics to the standard /metrics
endpoint that Prometheus (or an OpenTelemetry collector) can scrape.
Git Repo for hands-on code: https://github.com/agardnerIT/fastapi-plus-prometheus
Author Of article : Adam Gardner Read full article