Interface FunctionMessageSpanCustomizer
-
public interface FunctionMessageSpanCustomizerAllows customization of messaging spans for Spring Cloud Function instrumentation.- Since:
- 3.0.4
- Author:
- Marcin Grzejszczak
-
-
Method Summary
All Methods Instance Methods Default Methods Modifier and Type Method Description default voidcustomizeFunctionSpan(Span span, org.springframework.messaging.Message<?> message)Customizes the span wrapping the function execution.default voidcustomizeInputMessageSpan(Span span, org.springframework.messaging.Message<?> message)Customizes the span created after wrapping the input message in a span representation.default voidcustomizeOutputMessageSpan(Span span, org.springframework.messaging.Message<?> message)Customizes the span created for the output message.
-
-
-
Method Detail
-
customizeInputMessageSpan
default void customizeInputMessageSpan(Span span, org.springframework.messaging.Message<?> message)
Customizes the span created after wrapping the input message in a span representation.- Parameters:
span- current span to customizemessage- received or sent message
-
customizeFunctionSpan
default void customizeFunctionSpan(Span span, org.springframework.messaging.Message<?> message)
Customizes the span wrapping the function execution.- Parameters:
span- current span to customizemessage- message to be sent
-
customizeOutputMessageSpan
default void customizeOutputMessageSpan(Span span, org.springframework.messaging.Message<?> message)
Customizes the span created for the output message.- Parameters:
span- current span to customizemessage- message to be sent
-
-