Skip to content

Hamish-Leahy/fastapi-prometheus-grafana

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

FastAPI + Prometheus + Grafana 🎉

This is a minimal setup that you can build to monitor your FastAPI microservice.

Installation

There are only two prerequisites:

Having both, you'll need to clone the repository:

git clone https://github.com/Kludex/fastapi-prometheus-grafana

Usage

You'll need to run the docker containers:

docker-compose up

Now you have access to those three containers and their respective ports:

On the FastAPI, you can access /metrics endpoint to see the data Prometheus is scraping from it.

How it looks!

References

About

FasAPI + Prometheus + Grafana! Cleaned UP

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Python 79.1%
  • Dockerfile 20.9%