Registry / observability / tracing-forest

tracing-forest

JSON →
library0.3.1rscratesunverified

Preserving contextual coherence among trace data from concurrent tasks

# Cargo.toml [dependencies] tracing-forest = "0.3.1"
INSTALL
IMPORT
SIG · TRACING-FOREST
T
tracing-forest
observabilityrustv0.3.1
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

ForestLayer
use tracing_forest::ForestLayer;

Sets up a tracing subscriber with ForestLayer to preserve context across concurrent tasks

use tracing_forest::ForestLayer; use tracing_subscriber::Registry; fn main() { let subscriber = Registry::default().with(ForestLayer::default()); tracing::subscriber::set_global_default(subscriber).unwrap(); tracing::info!("Hello from tracing-forest!"); }
Debug
Known issues
gotchaRequires the `tracing` crate and a subscriber; output format may change between versions
fix
Ensure `tracing` and `tracing-subscriber` are dependencies, and check documentation for output customization
affects: >=0.3.0
Upgrade
Version history
0.3.1latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
40 hits · last 30 days
node
34
Amazon
1
OpenAI (training)
1
Resources
tracing-forest — cargo add tracing-forest · libregistry