You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: autometrics/build.rs
+2-2
Original file line number
Diff line number
Diff line change
@@ -12,7 +12,7 @@ pub fn main() {
12
12
#[cfg(feature = "prometheus-client")]
13
13
println!("cargo:warning=The `prometheus-client` feature is deprecated and will be removed in the next version. Please use `prometheus-client-0_22` instead.");
println!("cargo:warning=The `exemplars-tracing-opentelemetry` feature is deprecated and will be removed in the next version. Please use `exemplars-tracing-opentelemetry-0_24` instead.");
15
+
println!("cargo:warning=The `exemplars-tracing-opentelemetry` feature is deprecated and will be removed in the next version. Please use `exemplars-tracing-opentelemetry-0_25` instead.");
Copy file name to clipboardexpand all lines: autometrics/src/otel_push_exporter.rs
+4-4
Original file line number
Diff line number
Diff line change
@@ -1,17 +1,17 @@
1
1
use opentelemetry::metrics::MetricsError;
2
2
use opentelemetry_otlp::{ExportConfig,Protocol,WithExportConfig};
3
3
use opentelemetry_otlp::{OtlpMetricPipeline,OTEL_EXPORTER_OTLP_TIMEOUT_DEFAULT};
4
-
use opentelemetry_sdk::metrics::MeterProvider;
4
+
use opentelemetry_sdk::metrics::SdkMeterProvider;
5
5
use std::ops::Deref;
6
6
use std::time::Duration;
7
7
8
-
/// Newtype struct holding a [`MeterProvider`] with a custom `Drop` implementation to automatically clean up itself
8
+
/// Newtype struct holding a [`SdkMeterProvider`] with a custom `Drop` implementation to automatically clean up itself
9
9
#[repr(transparent)]
10
10
#[must_use = "Assign this to a unused variable instead: `let _meter = ...` (NOT `let _ = ...`), as else it will be dropped immediately - which will cause it to be shut down"]
0 commit comments