{"id":19754624,"url":"https://github.com/akmalovaa/python-learn-to-tracing","last_synced_at":"2026-01-31T08:05:41.708Z","repository":{"id":259719101,"uuid":"879275757","full_name":"akmalovaa/python-learn-to-tracing","owner":"akmalovaa","description":"Repository for experiments to understand tracing","archived":false,"fork":false,"pushed_at":"2024-11-12T13:49:42.000Z","size":1738,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-01-10T22:22:06.756Z","etag":null,"topics":["grafana","opentelemetry","prometheus","python","tempo","tracing"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/akmalovaa.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-10-27T13:37:47.000Z","updated_at":"2024-11-12T13:49:46.000Z","dependencies_parsed_at":"2024-10-27T15:22:00.699Z","dependency_job_id":"59c79793-0d97-4c99-9e79-56be94c64695","html_url":"https://github.com/akmalovaa/python-learn-to-tracing","commit_stats":null,"previous_names":["akmalovaa/python-learn-to-tracing"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/akmalovaa%2Fpython-learn-to-tracing","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/akmalovaa%2Fpython-learn-to-tracing/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/akmalovaa%2Fpython-learn-to-tracing/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/akmalovaa%2Fpython-learn-to-tracing/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/akmalovaa","download_url":"https://codeload.github.com/akmalovaa/python-learn-to-tracing/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241085971,"owners_count":19907258,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["grafana","opentelemetry","prometheus","python","tempo","tracing"],"created_at":"2024-11-12T03:01:11.595Z","updated_at":"2026-01-31T08:05:41.700Z","avatar_url":"https://github.com/akmalovaa.png","language":"Python","readme":"# Python tracing\n\nRepository for experiments to understand tracing: \n- Python (FastAPI, uv)\n- Frontend (Vue.js)\n- OpenTelemetry collector\n- Tempo\n- Grafana\n- Prometheus\n\n![scheme](./images/scheme.png)\n\n### Useful materials\n**main:**\n- https://github.com/open-telemetry/opentelemetry-collector\n- https://opentelemetry.io/docs/languages/python/getting-started/\n- \n\n**web:**\n- https://jorzel.hashnode.dev/understanding-distributed-tracing-a-python-guide-with-opentelemetry-and-grafana-tempo\n- https://www.aspecto.io/blog/getting-started-with-opentelemetry-python/\n- https://uptrace.dev/get/instrument/opentelemetry-fastapi.html#fastapi-instrumentation\n- \n\n**github examples:**\n- https://github.com/SigNoz/opentelemetry-python-example\n- https://github.com/neverlock/python-opentelemetry-rabbitmq-tempo\n- https://github.com/jorzel/tracing-otel\n- https://github.com/softwarebloat/python-tracing-demo\n- https://github.com/blueswen/fastapi-observability\n- https://github.com/GRomR1/monitoring-microservices-demo\n- https://github.com/lperdereau/opentelemetry-poc\n- https://github.com/pasdam/playground-docker-grafana-prometheus-loki-tempo\n\n\n### scripts:\n\n```shell\nk6 run scripts/k6_fastapi_get.js\n```\n\n### locahost services\n\nStart\n```\ndocker compose up -d\n```\n\nAfter run docker compose\n- [Python_app](http://localhost:8000)\n- [Grafana](http://localhost:3000)\n- [Prometheus](http://localhost:9090)\n\ntest alembic migrations\n```\n#local\nuv run alembic -c otel_py_example/alembic.ini upgrade head\n# docker\nchmod +x scripts/alembic.sh \u0026\u0026 ./scripts/alembic.sh current\n./scripts/alembic.sh upgrade head\n```\n\ndev\n```\ndocker-compose down \u0026\u0026 docker-compose up -d --build\n```\n\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fakmalovaa%2Fpython-learn-to-tracing","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fakmalovaa%2Fpython-learn-to-tracing","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fakmalovaa%2Fpython-learn-to-tracing/lists"}