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 902baa9 commit e8ccb01Copy full SHA for e8ccb01
opentelemetry-sdk/src/trace/provider.rs
@@ -336,7 +336,7 @@ impl Builder {
336
337
/// Specify the number of events to be recorded per span.
338
pub fn with_max_events_per_span(mut self, max_events: u32) -> Self {
339
- self.config.span_limits.max_attributes_per_span = max_events;
+ self.config.span_limits.max_events_per_span = max_events;
340
self
341
}
342
0 commit comments