[][src]Function tracing_honeycomb::new_honeycomb_telemetry_layer

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

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.