tracing_honeycomb

Function new_honeycomb_telemetry_layer

Source
pub fn new_honeycomb_telemetry_layer(
    service_name: &'static str,
    honeycomb_config: Config,
) -> TelemetryLayer<HoneycombTelemetry<LibhoneyReporter>, SpanId, TraceId>
Expand description

Construct a TelemetryLayer that publishes telemetry to honeycomb.io using the provided honeycomb config.

Specialized to the honeycomb.io-specific SpanId and TraceId provided by this crate.