{"id":20114017,"url":"https://github.com/davidb/tracing-opentelemetry-instrumentation-sdk","last_synced_at":"2025-05-16T05:07:06.934Z","repository":{"id":38012242,"uuid":"502390746","full_name":"davidB/tracing-opentelemetry-instrumentation-sdk","owner":"davidB","description":"Middlewares and tools to integrate axum + tracing + opentelemetry","archived":false,"fork":false,"pushed_at":"2025-04-04T08:53:19.000Z","size":537,"stargazers_count":183,"open_issues_count":13,"forks_count":44,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-05-07T09:16:50.271Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"cc0-1.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/davidB.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":".github/FUNDING.yml","license":"LICENSE","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},"funding":{"github":["davidB"],"patreon":null,"open_collective":null,"ko_fi":null,"tidelift":null,"community_bridge":null,"liberapay":null,"issuehunt":null,"otechie":null,"lfx_crowdfunding":null,"custom":null}},"created_at":"2022-06-11T15:49:52.000Z","updated_at":"2025-05-05T19:42:16.000Z","dependencies_parsed_at":"2023-08-10T06:00:04.751Z","dependency_job_id":"747826b6-592e-4490-abed-045e8ef0bac8","html_url":"https://github.com/davidB/tracing-opentelemetry-instrumentation-sdk","commit_stats":null,"previous_names":["davidb/toolkit-tracing-opentelemetry","davidb/tracing-opentelemetry-instrumentation-sdk","davidb/axum-tracing-opentelemetry"],"tags_count":139,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/davidB%2Ftracing-opentelemetry-instrumentation-sdk","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/davidB%2Ftracing-opentelemetry-instrumentation-sdk/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/davidB%2Ftracing-opentelemetry-instrumentation-sdk/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/davidB%2Ftracing-opentelemetry-instrumentation-sdk/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/davidB","download_url":"https://codeload.github.com/davidB/tracing-opentelemetry-instrumentation-sdk/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254471060,"owners_count":22076585,"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":[],"created_at":"2024-11-13T18:27:50.232Z","updated_at":"2025-05-16T05:07:01.923Z","avatar_url":"https://github.com/davidB.png","language":"Rust","funding_links":["https://github.com/sponsors/davidB"],"categories":[],"sub_categories":[],"readme":"# tracing-opentelemetry-instrumentation-sdk\n\nA set of rust crates to help working with tracing + opentelemetry\n\n- `init-tracing-opentelemetry`: A set of helpers to initialize (and more) tracing + opentelemetry (compose your own or use opinionated preset)\n- `axum-tracing-opentelemetry`: Middlewares and tools to integrate axum + tracing + opentelemetry.\n- `fake-opentelemetry-collector`: A Fake (basic) opentelemetry collector, useful to test what is collected opentelemetry\n\n## For local dev / demo\n\nTo collect and visualize trace on local, some ofthe simplest solutions:\n\n### Otel Desktop Viewer\n\n[CtrlSpice/otel-desktop-viewer: desktop-collector](https://github.com/CtrlSpice/otel-desktop-viewer)\n\n### Jaeger all-in-one\n\n```sh\n# launch Jaeger with OpenTelemetry, Jaeger, Zipking,... mode.\n# see https://www.jaegertracing.io/docs/1.49/getting-started/#all-in-one\n\n# nerdctl or docker or any container runner\nnerdctl run --rm --name jaeger \\\n  -e COLLECTOR_ZIPKIN_HOST_PORT:9411 \\\n  -e COLLECTOR_OTLP_ENABLED:true \\\n  -p 6831:6831/udp \\\n  -p 6832:6832/udp \\\n  -p 5778:5778 \\\n  -p 16686:16686 \\\n  -p 4317:4317 \\\n  -p 4318:4318 \\\n  -p 14250:14250 \\\n  -p 14268:14268 \\\n  -p 14269:14269 \\\n  -p 9411:9411 \\\n  jaegertracing/all-in-one:1.49\n\nopen http://localhost:16686\n```\n\nThen :\n\n- setup env variable (or not), (eg see [.envrc](.envrc))\n- launch your server\n- send the request\n- copy trace_id from log (or response header)\n- paste into Jaeger web UI\n\n## To release\n\nUse the github workflow `release-plz`.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdavidb%2Ftracing-opentelemetry-instrumentation-sdk","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdavidb%2Ftracing-opentelemetry-instrumentation-sdk","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdavidb%2Ftracing-opentelemetry-instrumentation-sdk/lists"}