Interface TraceMongoSpanCustomizer
-
- All Known Implementing Classes:
TraceMongoClusterIdSpanCustomizer,TraceMongoSocketAddressSpanCustomizer
public interface TraceMongoSpanCustomizerCustomizer for the child span wrapping the call to Mongo.- Since:
- 3.1.0
- Author:
- Marcin Grzejszczak
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidcustomizeCommandStartSpan(com.mongodb.event.CommandStartedEvent commandStartedEvent, Span.Builder spanBuilder)Customizes the Span created from theCommandStartedEvent.
-
-
-
Method Detail
-
customizeCommandStartSpan
void customizeCommandStartSpan(com.mongodb.event.CommandStartedEvent commandStartedEvent, Span.Builder spanBuilder)Customizes the Span created from theCommandStartedEvent.- Parameters:
commandStartedEvent- event from MongospanBuilder- span builder to customize
-
-