containerd_shimkit/sandbox/shim/
mod.rs

1//! The shim exposes the [Config] struct to configure the shim and [OtlpConfig] module to enable tracing if the `opentelemetry` feature is enabled.
2
3pub use local::Config;
4
5mod events;
6mod instance_data;
7mod local;
8#[allow(clippy::module_inception)]
9mod shim;
10mod task_state;
11pub(crate) use shim::Shim;
12
13#[cfg(feature = "opentelemetry")]
14mod otel;
15#[cfg(feature = "opentelemetry")]
16pub(crate) use otel::{Config as OtlpConfig, traces_enabled as otel_traces_enabled};