https://github.com/everysoftware/fastapi-obs
Preset designed to provide a set of tools to monitor and observe the FastAPI microservices.
https://github.com/everysoftware/fastapi-obs
fastapi grafana loki microservices observability prometheus tempo
Last synced: about 1 year ago
JSON representation
Preset designed to provide a set of tools to monitor and observe the FastAPI microservices.
- Host: GitHub
- URL: https://github.com/everysoftware/fastapi-obs
- Owner: everysoftware
- Created: 2024-10-16T10:11:59.000Z (over 1 year ago)
- Default Branch: master
- Last Pushed: 2024-10-16T10:16:57.000Z (over 1 year ago)
- Last Synced: 2025-02-19T12:52:10.530Z (about 1 year ago)
- Topics: fastapi, grafana, loki, microservices, observability, prometheus, tempo
- Language: Makefile
- Homepage:
- Size: 751 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Funding: .github/FUNDING.yml
- Codeowners: .github/CODEOWNERS
Awesome Lists containing this project
README
# FastAPI observability
This preset is designed to provide a set of tools to monitor and observe the FastAPI microservices.
---
[Microservice example](https://github.com/everysoftware/fastapi-auth)
Inspired by [FastAPI observability](https://github.com/blueswen/fastapi-observability)
---
## Tools
- [Prometheus](https://prometheus.io/) - Monitoring system and time series database
- [Grafana](https://grafana.com/) - Visualization and monitoring tool
- [Tempo](https://grafana.com/oss/tempo/) - Distributed tracing system
- [Loki](https://grafana.com/oss/loki/) - Log aggregation system
## Installation
1. Install Loki plugin
```bash
docker plugin install grafana/loki-docker-driver:2.9.2 --alias loki --grant-all-permissions
```
2. Set microservice URLs
```bash
nano ./obs/prometheus/prometheus.yml
```
3. Start the services
```bash
make up
```
# Screenshots


Made with ❤️