{"id":36236330,"url":"https://github.com/danipopes/tracing-samply","last_synced_at":"2026-01-11T06:00:14.042Z","repository":{"id":329512478,"uuid":"1119870629","full_name":"DaniPopes/tracing-samply","owner":"DaniPopes","description":"Tracing subscriber layer for samply","archived":false,"fork":false,"pushed_at":"2025-12-20T20:47:43.000Z","size":118,"stargazers_count":19,"open_issues_count":1,"forks_count":1,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-12-22T12:18:54.411Z","etag":null,"topics":["debugging","events","log","logging","logs","perf","profiling","samply","traces","tracing"],"latest_commit_sha":null,"homepage":"","language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/DaniPopes.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE-APACHE","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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-12-20T02:23:51.000Z","updated_at":"2025-12-22T11:39:17.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/DaniPopes/tracing-samply","commit_stats":null,"previous_names":["danipopes/tracing-samply"],"tags_count":6,"template":false,"template_full_name":null,"purl":"pkg:github/DaniPopes/tracing-samply","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DaniPopes%2Ftracing-samply","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DaniPopes%2Ftracing-samply/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DaniPopes%2Ftracing-samply/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DaniPopes%2Ftracing-samply/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/DaniPopes","download_url":"https://codeload.github.com/DaniPopes/tracing-samply/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DaniPopes%2Ftracing-samply/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28293188,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-11T04:44:51.577Z","status":"ssl_error","status_checked_at":"2026-01-11T04:44:44.232Z","response_time":60,"last_error":"SSL_read: 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":["debugging","events","log","logging","logs","perf","profiling","samply","traces","tracing"],"created_at":"2026-01-11T06:00:13.141Z","updated_at":"2026-01-11T06:00:14.032Z","avatar_url":"https://github.com/DaniPopes.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# tracing-samply\n\nA [`tracing-subscriber`] layer that bridges [`tracing`] with [`samply`].\n\nCurrently, this only records spans as markers using `samply`'s ad-hoc marker file format,\nwhich are then detected at runtime by `samply` and written to the profile.\n\nMarkers for a thread are only detected if `samply` is attached when the thread is created.\n\nThis crate will adapt to any changes upstream.\nThe creator has expressed that the marker file is a temporary measure and that it will be replaced with a more robust solution in the future: \u003chttps://github.com/mstange/samply/pull/143#issuecomment-2067747892\u003e\n\nSee also: [mstange/samply#349](https://github.com/mstange/samply/issues/349)\n\n### [Example Profile](https://share.firefox.dev/4jgig5C)\n\n![samply](https://raw.githubusercontent.com/DaniPopes/tracing-samply/refs/heads/main/assets/sample.png)\n\n## Usage\n\n```rust\nuse tracing_subscriber::prelude::*;\n\nfn main() {\n    tracing_subscriber::registry()\n        // ... other layers\n        .with(tracing_samply::SamplyLayer::new().unwrap())\n        .init();\n    \n    // Your application code that uses `tracing`\n}\n```\n\n## Platform Support\n\n| Platform | Status |\n|----------|--------|\n| 🐧 Linux | ✅ |\n| 🍎 macOS | ✅ |\n| 🪟 Windows | ⚠️ |\n\n- ✅ = Compiles, tested in CI, works as expected\n- ⚠️ = Compiles, but does not do anything (yet?)\n\n## License\n\nLicensed under either of [Apache License, Version 2.0](LICENSE-APACHE) or [MIT license](LICENSE-MIT) at your option.\n\n[`tracing`]: https://docs.rs/tracing\n[`tracing-subscriber`]: https://docs.rs/tracing-subscriber\n[`samply`]: https://github.com/mstange/samply\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdanipopes%2Ftracing-samply","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdanipopes%2Ftracing-samply","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdanipopes%2Ftracing-samply/lists"}