#[cfg(feature = "metrics")]
mod metrics;
mod resource;
#[cfg(all(feature = "grpc-tonic", feature = "metrics"))]
pub(crate) use metrics::tonic::record_to_metric;
#[cfg(all(feature = "grpc-tonic", feature = "metrics"))]
pub(crate) use metrics::tonic::sink;
#[cfg(all(feature = "grpc-tonic", feature = "metrics"))]
pub(crate) use resource::ResourceWrapper;
#[cfg(all(feature = "grpc-tonic", feature = "metrics"))]
use opentelemetry::sdk::InstrumentationLibrary;
#[cfg(all(feature = "grpc-tonic", feature = "metrics"))]
pub(crate) type CheckpointedMetrics = (
ResourceWrapper,
InstrumentationLibrary,
opentelemetry_proto::tonic::metrics::v1::Metric,
);