Projets
Voir sur GitHub
Kludex/fastapi-prometheus-grafana
À propos
FasAPI + Prometheus + Grafana! :tada:
Autres projetsProgression mesurée des étoiles
- in 24h
- 0
- in 7 days
- 0
- in 15 days
- 0
- in 1 month
- Historique en cours
Variations nettes sur des périodes qui se chevauchent, pas des totaux quotidiens. Les mesures absentes restent vides. Les étoiles indiquent l’intérêt, pas la qualité.
README.md
OriginalFastAPI + Prometheus + Grafana :tada:
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:
- Prometheus: http://localhost:9090/
- Grafana: http://localhost:3000/
- FastAPI: http://localhost:8000/
On the FastAPI, you can access /metrics endpoint to see the data Prometheus is scraping from it.
How it looks like
References
Explorer des projets similaires
Chargement…