{"id":23261578,"url":"https://github.com/eopb/tide-tracing","last_synced_at":"2025-12-12T14:53:52.277Z","repository":{"id":51040694,"uuid":"282703343","full_name":"eopb/tide-tracing","owner":"eopb","description":"A simple middleware for tide using the tracing crate for logging.","archived":false,"fork":false,"pushed_at":"2023-10-23T12:46:58.000Z","size":561,"stargazers_count":37,"open_issues_count":0,"forks_count":8,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-12-17T04:16:35.529Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","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/eopb.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","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":"2020-07-26T17:51:10.000Z","updated_at":"2024-03-10T02:43:58.000Z","dependencies_parsed_at":"2024-11-17T19:40:08.576Z","dependency_job_id":"89e06404-7f9f-49b3-b662-a3730b5d5a4d","html_url":"https://github.com/eopb/tide-tracing","commit_stats":null,"previous_names":["ethanboxx/tide-tracing"],"tags_count":15,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eopb%2Ftide-tracing","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eopb%2Ftide-tracing/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eopb%2Ftide-tracing/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eopb%2Ftide-tracing/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/eopb","download_url":"https://codeload.github.com/eopb/tide-tracing/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":230441673,"owners_count":18226426,"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-12-19T13:33:38.951Z","updated_at":"2025-12-12T14:53:52.226Z","avatar_url":"https://github.com/eopb.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# tide-tracing\n\n[![License](https://img.shields.io/crates/l/tide_tracing.svg)](https://crates.io/crates/tide-tracing)\n[![Latest version](https://img.shields.io/crates/v/tide-tracing.svg)](https://crates.io/crates/tide-tracing)\n[![Latest Docs](https://docs.rs/tide-tracing/badge.svg)](https://docs.rs/tide-tracing/)\n[![downloads-badge](https://img.shields.io/crates/d/tide_tracing.svg)](https://crates.io/crates/tide-tracing)\n\nA simple middleware for [`tide`](https://github.com/http-rs/tide) using the [`tracing`](https://github.com/tokio-rs/tracing) crate for logging.\n\n[![tide-tracing in action](/examples/example.png)](https://github.com/ethanboxx/tide-tracing/blob/master/examples/main.rs)\n\n## Why\n[`tide`](https://github.com/http-rs/tide) uses [`log`](https://github.com/rust-lang/log) in its [default logging middleware](https://docs.rs/tide/latest/tide/log/struct.LogMiddleware.html).\nWhen using [`tracing-log`](https://github.com/tokio-rs/tracing/tree/master/tracing-log) most of the information from tide is lost.\nThis crate provides a middleware that exposes all that information to [`tracing`](https://github.com/tokio-rs/tracing) directly while also improving the structure of the logs using [`span!`](https://docs.rs/tracing/latest/tracing/span/index.html).\n\n`tide-tracing` uses [opentelemetry conventional trace field names](https://github.com/open-telemetry/opentelemetry-specification/blob/main/specification/trace/semantic_conventions/http.md#common-attributes) by default.\n\n## Docs\n- [API docs](https://docs.rs/tide-tracing/)\n- [Example](https://github.com/ethanboxx/tide-tracing/blob/master/examples/main.rs)\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Feopb%2Ftide-tracing","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Feopb%2Ftide-tracing","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Feopb%2Ftide-tracing/lists"}