From ff9d50bc43996d96d82449b31d7474b49d95c1cd Mon Sep 17 00:00:00 2001 From: Utkarsh Umesan Pillai <66651184+utpilla@users.noreply.github.com> Date: Thu, 12 Sep 2024 16:13:47 -0700 Subject: [PATCH] Mark SdkMeter as pub(crate) (#2113) Co-authored-by: Cijo Thomas --- opentelemetry-sdk/src/metrics/meter.rs | 2 +- opentelemetry-sdk/src/metrics/mod.rs | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/opentelemetry-sdk/src/metrics/meter.rs b/opentelemetry-sdk/src/metrics/meter.rs index cbc36929c7..7c2df90e5b 100644 --- a/opentelemetry-sdk/src/metrics/meter.rs +++ b/opentelemetry-sdk/src/metrics/meter.rs @@ -42,7 +42,7 @@ const INSTRUMENT_UNIT_INVALID_CHAR: &str = "characters in instrument unit must b /// See the [Meter API] docs for usage. /// /// [Meter API]: opentelemetry::metrics::Meter -pub struct SdkMeter { +pub(crate) struct SdkMeter { scope: Scope, pipes: Arc, u64_resolver: Resolver, diff --git a/opentelemetry-sdk/src/metrics/mod.rs b/opentelemetry-sdk/src/metrics/mod.rs index 0e1f978525..cf6e3fb928 100644 --- a/opentelemetry-sdk/src/metrics/mod.rs +++ b/opentelemetry-sdk/src/metrics/mod.rs @@ -55,7 +55,6 @@ pub(crate) mod view; pub use aggregation::*; pub use instrument::*; pub use manual_reader::*; -pub use meter::*; pub use meter_provider::*; pub use periodic_reader::*; pub use pipeline::Pipeline;