[−][src]Crate tracing_honeycomb
This crate provides:
- A tracing layer,
TelemetryLayer, that can be used to publish trace data to honeycomb.io - Utilities for implementing distributed tracing against the honeycomb.io backend
As a tracing layer, TelemetryLayer can be composed with other layers to provide stdout logging, filtering, etc.
Re-exports
pub use tracing_distributed::TelemetryLayer; |
pub use tracing_distributed::TraceCtxError; |
Structs
| HoneycombTelemetry | Telemetry capability that publishes events and spans to Honeycomb.io. |
| SpanId | Unique Span identifier. |
| TraceId | A Honeycomb Trace ID. |
Functions
| current_dist_trace_ctx | Retrieve the distributed trace context associated with the current span. |
| new_blackhole_telemetry_layer | Construct a TelemetryLayer that does not publish telemetry to any backend. |
| new_honeycomb_telemetry_layer | Construct a TelemetryLayer that publishes telemetry to honeycomb.io using the provided honeycomb config. |
| new_honeycomb_telemetry_layer_with_trace_sampling | Construct a TelemetryLayer that publishes telemetry to honeycomb.io using the
provided honeycomb config, and sample rate. This function differs from
|
| register_dist_tracing_root | Register the current span as the local root of a distributed trace. |