This repository demonstrates the integration of observability tools with the Python logging library Loguru. By using tools like OpenTelemetry, Loki, and Grafana, this example showcases how to enhance application monitoring, debugging, and insights.
- Loguru: A powerful and easy-to-use Python logging library.
- OpenTelemetry: Captures traces and metrics to monitor application performance.
- Loki: A log aggregation system for efficient log querying.
- Grafana: Visualizes logs and metrics in real-time.
Modern applications require robust observability to understand their performance and behavior in complex environments. This project bridges Python's intuitive logging via Loguru with advanced observability platforms, simplifying monitoring setup and showcasing best practices.
- Docker
- Clone the repository:
git clone https://github.com/AlTosterino/Loguru-Observability-Example.git cd Loguru-Observability-Example
- Start the environment using Docker Compose:
make run
- Access Grafana to visualize logs and metrics: http://localhost:3000