:: features
Why Tracing?
OpenTelemetry Compatible
Export spans to Jaeger, Zipkin, Datadog, or any OTel-compatible backend.
Automatic Instrumentation
DI-aware tracing wraps port calls with spans automatically. No manual instrumentation.
Context Propagation
Trace context flows through DI resolution, async boundaries, and HTTP calls.
Span Attributes
Type-safe span attributes with semantic conventions. No string-based guesswork.
Sampling
Head-based and tail-based sampling strategies. Control trace volume precisely.
Test Support
In-memory span collector for assertions. Verify tracing behavior in tests.
:: ecosystem
Part of the HexDI Stack
Tracing integrates seamlessly with the HexDI dependency injection ecosystem. Use it standalone or compose it with other libraries.
Explore HexDI