//! Shared OpenTelemetry shutdown for host and out-of-process bootstraps.
/// Flush compatibility shutdown hooks for OpenTelemetry tracing and metrics.
///
/// This delegates to the current telemetry shutdown helpers so callers can use a
/// single bootstrap-level function during graceful shutdown.
///
/// `shutdown_metrics`/`shutdown_tracing` drain the SDK's batch processor, which
/// blocks on exporting the final batch (real network I/O to the OTLP endpoint).
/// Run that on a blocking-pool thread so it never stalls a Tokio worker thread.
pub async