{"id":16612933,"url":"https://github.com/ttys3/rust-otel-tracing-demo","last_synced_at":"2026-04-24T13:05:59.455Z","repository":{"id":101550731,"uuid":"437867997","full_name":"ttys3/rust-otel-tracing-demo","owner":"ttys3","description":null,"archived":false,"fork":false,"pushed_at":"2023-10-20T10:56:41.000Z","size":89,"stargazers_count":0,"open_issues_count":1,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-10T20:42:10.766Z","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":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ttys3.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":"2021-12-13T12:40:17.000Z","updated_at":"2021-12-14T02:26:24.000Z","dependencies_parsed_at":"2025-01-17T15:36:56.485Z","dependency_job_id":"02c8525f-ae53-4d73-862d-b4619d8ff18b","html_url":"https://github.com/ttys3/rust-otel-tracing-demo","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/ttys3/rust-otel-tracing-demo","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ttys3%2Frust-otel-tracing-demo","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ttys3%2Frust-otel-tracing-demo/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ttys3%2Frust-otel-tracing-demo/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ttys3%2Frust-otel-tracing-demo/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ttys3","download_url":"https://codeload.github.com/ttys3/rust-otel-tracing-demo/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ttys3%2Frust-otel-tracing-demo/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32224418,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-24T10:26:35.452Z","status":"ssl_error","status_checked_at":"2026-04-24T10:25:27.643Z","response_time":64,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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-10-12T01:45:24.445Z","updated_at":"2026-04-24T13:05:59.441Z","avatar_url":"https://github.com/ttys3.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Rust tracing demo\n\n1. use format layer to display tracing as logs to stdout instead of a standalone trace pipline from `opentelemetry::sdk::export::trace::stdout`\n2. `tracing_subscriber::fmt::init()` will set the global subscriber and global logger, in most cases you should avoid using it.\n3. `env_logger::init()` will logging in **UTC** timezone, to use **localtime**, you need build your own `Logger`.\n4. `tracing_subscriber::fmt::layer().with_timer(fmt::time::LocalTime::rfc_3339())` will not work\nand the log will **disappear** if you do not build with `RUSTFLAGS=\"--cfg unsound_local_offset\"`\n5. `SubscriberInitExt::init()` will set global default subscriber and init `tracing-log` (also init default `Logger`)\n\nhttps://docs.rs/tracing-subscriber/latest/tracing_subscriber/layer/index.html#runtime-configuration-with-layers\n\nhttps://docs.rs/tracing-subscriber/latest/tracing_subscriber/util/trait.SubscriberInitExt.html#method.init\n\nhttps://github.com/open-telemetry/opentelemetry-rust\n\nhttps://crates.io/crates/opentelemetry\n\ncommon exporters:\n\n```\nopentelemetry-jaeger\n\nopentelemetry-otlp\n\nopentelemetry-prometheus\n\nopentelemetry-zipkin\n```\n\nhttps://www.jaegertracing.io/docs/1.28/getting-started/#all-in-one\n\n```shell\n# replace podman with docker if you are using docker\npodman run --name jaeger -d -p6831:6831/udp -p6832:6832/udp -p14268:14268 -p16686:16686 jaegertracing/all-in-one:latest\n\nxdg-open http://localhost:16686/\n```\n\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fttys3%2Frust-otel-tracing-demo","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fttys3%2Frust-otel-tracing-demo","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fttys3%2Frust-otel-tracing-demo/lists"}