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
message = "Maximum data points for metric stream exceeded. Entry added to overflow. Subsequent overflows to same metric until next collect will not be logged."
149
149
);
150
-
}
150
+
}}}}}}
151
151
}
152
152
153
153
/// Iterate through all attribute sets and populate `DataPoints` in readonly mode.
Copy file name to clipboardExpand all lines: opentelemetry-sdk/src/metrics/meter_provider.rs
+6-6Lines changed: 6 additions & 6 deletions
Original file line number
Diff line number
Diff line change
@@ -191,29 +191,29 @@ impl MeterProvider for SdkMeterProvider {
191
191
otel_info!(name:"MeterNameEmpty", message = "Meter name is empty; consider providing a meaningful name. Meter will function normally and the provided name will be used as-is.");
192
192
};
193
193
194
-
ifletOk(mut meters) = self.inner.meters.lock(){
195
-
ifletSome(existing_meter) = meters.get(&scope){
194
+
matchself.inner.meters.lock(){Ok(mut meters) =>{
195
+
matchmeters.get(&scope){Some(existing_meter) =>{
196
196
otel_debug!(
197
197
name:"MeterProvider.ExistingMeterReturned",
198
198
meter_name = scope.name(),
199
199
);
200
200
Meter::new(existing_meter.clone())
201
-
}else{
201
+
}_ =>{
202
202
let new_meter = Arc::new(SdkMeter::new(scope.clone(),self.inner.pipes.clone()));
0 commit comments