Skip to content

Commit ff9d50b

Browse files
utpillacijothomas
andauthored
Mark SdkMeter as pub(crate) (#2113)
Co-authored-by: Cijo Thomas <cijo.thomas@gmail.com>
1 parent 8bd3294 commit ff9d50b

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

opentelemetry-sdk/src/metrics/meter.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ const INSTRUMENT_UNIT_INVALID_CHAR: &str = "characters in instrument unit must b
4242
/// See the [Meter API] docs for usage.
4343
///
4444
/// [Meter API]: opentelemetry::metrics::Meter
45-
pub struct SdkMeter {
45+
pub(crate) struct SdkMeter {
4646
scope: Scope,
4747
pipes: Arc<Pipelines>,
4848
u64_resolver: Resolver<u64>,

opentelemetry-sdk/src/metrics/mod.rs

-1
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,6 @@ pub(crate) mod view;
5555
pub use aggregation::*;
5656
pub use instrument::*;
5757
pub use manual_reader::*;
58-
pub use meter::*;
5958
pub use meter_provider::*;
6059
pub use periodic_reader::*;
6160
pub use pipeline::Pipeline;

0 commit comments

Comments
 (0)