{"id":18616707,"url":"https://github.com/sile/rustracing_jaeger","last_synced_at":"2025-04-05T04:14:55.491Z","repository":{"id":26082355,"uuid":"106543573","full_name":"sile/rustracing_jaeger","owner":"sile","description":"Jaeger tracing library for Rust","archived":false,"fork":false,"pushed_at":"2024-06-15T06:29:01.000Z","size":151,"stargazers_count":83,"open_issues_count":5,"forks_count":22,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-29T03:11:42.110Z","etag":null,"topics":["jaeger","opentracing","rust"],"latest_commit_sha":null,"homepage":null,"language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/sile.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"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}},"created_at":"2017-10-11T11:09:02.000Z","updated_at":"2024-06-15T06:28:38.000Z","dependencies_parsed_at":"2024-06-20T00:08:53.853Z","dependency_job_id":"73d57ad3-c9eb-4f5b-98e7-6fb6c2408675","html_url":"https://github.com/sile/rustracing_jaeger","commit_stats":{"total_commits":112,"total_committers":10,"mean_commits":11.2,"dds":0.2321428571428571,"last_synced_commit":"bc7d03f2f6ac6bc0269542089c8907279706ecb7"},"previous_names":[],"tags_count":28,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sile%2Frustracing_jaeger","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sile%2Frustracing_jaeger/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sile%2Frustracing_jaeger/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sile%2Frustracing_jaeger/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sile","download_url":"https://codeload.github.com/sile/rustracing_jaeger/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247284954,"owners_count":20913704,"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":["jaeger","opentracing","rust"],"created_at":"2024-11-07T03:37:40.100Z","updated_at":"2025-04-05T04:14:55.462Z","avatar_url":"https://github.com/sile.png","language":"Rust","funding_links":[],"categories":["Rust"],"sub_categories":[],"readme":"rustracing_jaeger\n=================\n\n[![Crates.io: rustracing_jaeger](https://img.shields.io/crates/v/rustracing_jaeger.svg)](https://crates.io/crates/rustracing_jaeger)\n[![Documentation](https://docs.rs/rustracing_jaeger/badge.svg)](https://docs.rs/rustracing_jaeger)\n[![Actions Status](https://github.com/sile/rustracing_jaeger/workflows/CI/badge.svg)](https://github.com/sile/rustracing_jaeger/actions)\n[![Coverage Status](https://coveralls.io/repos/github/sile/rustracing_jaeger/badge.svg?branch=master)](https://coveralls.io/github/sile/rustracing_jaeger?branch=master)\n[![License: MIT](https://img.shields.io/badge/license-MIT-blue.svg)](LICENSE)\n\n[Jaeger][jaeger] client library created on top of [rustracing].\n\n[jaeger]: https://github.com/jaegertracing/jaeger\n[rustracing]: https://crates.io/crates/rustracing\n\n[Documentation](https://docs.rs/rustracing_jaeger)\n\nExamples\n--------\n\n### Basic Usage\n\n```rust\nuse rustracing::sampler::AllSampler;\nuse rustracing_jaeger::Tracer;\nuse rustracing_jaeger::reporter::JaegerCompactReporter;\n\n// Creates a tracer\nlet (span_tx, span_rx) = crossbeam_channel::bounded(10);\nlet tracer = Tracer::with_sender(AllSampler, span_tx);\n{\n    let span = tracer.span(\"sample_op\").start();\n    // Do something\n\n} // The dropped span will be sent to `span_rx`\n\nlet span = span_rx.try_recv().unwrap();\nassert_eq!(span.operation_name(), \"sample_op\");\n\n// Reports this span to the local jaeger agent\nlet reporter = JaegerCompactReporter::new(\"sample_service\").unwrap();\nreporter.report(\u0026[span]).unwrap();\n```\n\n### Executes `report.rs` example\n\n```console\n# Run jaeger in background\n$ docker run -d -p6831:6831/udp -p6832:6832/udp -p16686:16686 jaegertracing/all-in-one:latest\n\n# Report example spans\n$ cargo run --example report\n\n# View spans (see the image below)\n$ firefox http://localhost:16686/\n```\n\n![Jaeger UI](trace.png)\n\nReferences\n----------\n\n- [Jaeger Client Library](https://www.jaegertracing.io/docs/latest/client-libraries/)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsile%2Frustracing_jaeger","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsile%2Frustracing_jaeger","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsile%2Frustracing_jaeger/lists"}