// Generated by sdk-kit 0.3.0 — do not edit; change sdk-kit and run "sdk-kit sync"
//! `tracing-opentelemetry` integration: turn `tracing` spans into OpenTelemetry spans.
use Subscriber;
use SdkTracer;
use OpenTelemetryLayer;
use LookupSpan;
use TracingHandle;
/// Re-export of `tracing::instrument`: annotate functions with `#[instrument]` and add
/// [`otel_layer`] to the subscriber to export them as OpenTelemetry spans.
pub use instrument;
/// A `tracing-opentelemetry` layer exporting `tracing` spans through `handle`
/// (instrumentation scope = the configured service name).
///
/// ```no_run
/// # use grow_apache_skywalking::tracing::{otel_layer, TracingHandle};
/// # fn demo(handle: &TracingHandle) {
/// use tracing_subscriber::prelude::*;
/// tracing_subscriber::registry().with(otel_layer(handle)).init();
/// # }
/// ```