2025-01-05 20:58:13 +08:00
2024-12-04 17:23:14 +08:00
2025-01-05 20:58:13 +08:00
2024-12-05 16:29:36 +08:00
2024-12-05 16:29:36 +08:00
2024-12-04 17:23:14 +08:00
2024-12-04 17:23:14 +08:00
2024-12-04 17:23:14 +08:00
2024-12-05 16:29:36 +08:00
2025-01-05 20:58:13 +08:00
2024-12-05 16:29:36 +08:00
2024-12-05 16:29:36 +08:00
2024-12-04 17:23:14 +08:00
2025-01-05 20:58:13 +08:00

ez-otlp

ez-otlp is a simple tool that enables convenient use of modern monitoring systems with minimal configuration. It helps developers streamline telemetry data collection and transmission, making it ideal for services in modern cloud-native applications and microservices architectures. It efficiently collects logs, metrics, and traces via OpenTelemetry and seamlessly integrates with existing monitoring tools and platforms like Prometheus, Grafana, Datadog, and more.

🚀 Quickly implement application performance monitoring, log management, distributed tracing, metrics and dashboards, and alerts.

🛠️ 99% of parameter configurations are resolved through environment variables, making it plug-and-play and ready to seamlessly integrate with OpenTelemetry without the need for complex parameters.

❤️ The demo uses SigNoz for an intuitive interface that showcases the power of modern monitoring systems.

Documentation

English中文

Install

pip install ez-otlp

Usage Instructions

In your project
# env
# EZ_ENDPOINT = http://host.docker.internal:4317/v1/traces
# EZ_RESOURCE_SERVICE_NAME = ez-otlp

from ez_otlp import EZ_OTLP

otlp = EZ_OTLP(log=["logging", "structlog"])
Run template.py
docker-compose up

locally hosted SigNoz

http://localhost:3301/

cd signoz
docker-compose up -d

Images

img.png img.png img.png

Todolist

  • logging module support -> loguru
  • Integration with other services -> Litestar, FastAPI, Starlette, Aiohttp, sqlalchemy, redis
  • Improve documentation
Description
No description provided
Readme 1.4 MiB
Languages
Python 66.7%
Go 28%
Makefile 2.7%
Dockerfile 2.6%