Skip to content

Commit

Permalink
fix: expose otel_sdk
Browse files Browse the repository at this point in the history
  • Loading branch information
chris13524 committed Apr 17, 2024
1 parent 1b8052d commit 89ffe4b
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions crates/metrics/src/lib.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,10 @@
pub use {future::*, once_cell::sync::Lazy, opentelemetry as otel, task::*};
pub use {
future::*,
once_cell::sync::Lazy,
opentelemetry as otel,
opentelemetry_sdk as otel_sdk,
task::*,
};
use {
opentelemetry_sdk::metrics::{MeterProviderBuilder, SdkMeterProvider},
otel::{
Expand Down Expand Up @@ -75,7 +81,8 @@ impl ServiceMetrics {
Lazy::force(&METRICS_CORE);
}

/// Initializes service metrics with the specified name and meter provider builder.
/// Initializes service metrics with the specified name and meter provider
/// builder.
///
/// # Panics
///
Expand Down

0 comments on commit 89ffe4b

Please sign in to comment.