We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 442b0ac commit e7c5ba2Copy full SHA for e7c5ba2
opentelemetry-sdk/src/metrics/view.rs
@@ -36,6 +36,8 @@ use super::instrument::{Instrument, Stream};
36
/// let provider = SdkMeterProvider::builder().with_view(my_view).build();
37
/// # drop(provider)
38
/// ```
39
+// TODO: This trait need not be public, if we modify MeterProvider to take a
40
+// Fn(&Instrument) -> Option<Stream> instead of View.
41
pub trait View: Send + Sync + 'static {
42
/// Defines how data should be collected for certain instruments.
43
///
0 commit comments