Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/akmalovaa/python-learn-to-tracing
Repository for experiments to understand tracing
https://github.com/akmalovaa/python-learn-to-tracing
grafana opentelemetry prometheus python tempo tracing
Last synced: 3 days ago
JSON representation
Repository for experiments to understand tracing
- Host: GitHub
- URL: https://github.com/akmalovaa/python-learn-to-tracing
- Owner: akmalovaa
- Created: 2024-10-27T13:37:47.000Z (18 days ago)
- Default Branch: main
- Last Pushed: 2024-11-11T14:26:13.000Z (3 days ago)
- Last Synced: 2024-11-11T15:29:44.226Z (3 days ago)
- Topics: grafana, opentelemetry, prometheus, python, tempo, tracing
- Language: Python
- Homepage:
- Size: 1.61 MB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Python tracing
Repository for experiments to understand tracing:
- Python
- OpenTelemetry
- Tempo
- Grafana
- Prometheus![scheme](./images/scheme.excalidraw.png)
### Useful materials
**main:**
- https://github.com/open-telemetry/opentelemetry-collector
- https://opentelemetry.io/docs/languages/python/getting-started/
-**web:**
- https://jorzel.hashnode.dev/understanding-distributed-tracing-a-python-guide-with-opentelemetry-and-grafana-tempo
- https://www.aspecto.io/blog/getting-started-with-opentelemetry-python/
- https://uptrace.dev/get/instrument/opentelemetry-fastapi.html#fastapi-instrumentation
-**github examples:**
- https://github.com/SigNoz/opentelemetry-python-example
- https://github.com/neverlock/python-opentelemetry-rabbitmq-tempo
- https://github.com/jorzel/tracing-otel
- https://github.com/softwarebloat/python-tracing-demo
- https://github.com/blueswen/fastapi-observability
- https://github.com/GRomR1/monitoring-microservices-demo
- https://github.com/lperdereau/opentelemetry-poc
- https://github.com/pasdam/playground-docker-grafana-prometheus-loki-tempo### scripts:
```shell
k6 run scripts/k6_fastapi_get.js
```### locahost services
Start
```
docker compose up -d
```After run docker compose
- [Python_app1](http://localhost:8000)
- [Grafana](http://localhost:3000)
- [Prometheus](http://localhost:9090)