[][src]Function tracing_jaeger::new_opentelemetry_layer

pub fn new_opentelemetry_layer(
    service_name: &'static str,
    exporter: Box<dyn SpanExporter>,
    config: Config
) -> TelemetryLayer<OpenTelemetry, 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.