A callback function that is applied to all Span instances right before they are finished and flushed to Span reporters.
A callback function that is applied to all Span instances right before they are finished and flushed to Span reporters. PreFinishHook implementations are configured using the "kamon.trace.hooks.pre-finish" configuration setting and all implementations must have a parameter-less constructor.
A callback function that is applied to all SpanBuilder instances right before they are turned into an actual Span.
A callback function that is applied to all SpanBuilder instances right before they are turned into an actual Span. PreStartHook implementations are configured using the "kamon.trace.hooks.pre-start" configuration setting and all implementations must have a parameter-less constructor.