项目
在 GitHub 查看
Kludex/fastapi-prometheus-grafana
关于
FasAPI + Prometheus + Grafana! :tada:
其他项目实测星标增长
- 24小时
- 0
- 7天
- 0
- 15天
- 0
- 1个月
- 正在收集历史
各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。
README.md
原文FastAPI + 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
探索相关项目
加载中…