Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewSpanLogValuesProcessorContext ¶
func NewSpanLogValuesProcessorContext( ctx context.Context, fn SpanLogValuesProcessor, ) context.Context
NewSpanLogValuesProcessorContext will enrich the provided context with the provided spanLogValuesProcessor. It may be useful for any application which depends on dubbo, but wants to for example transform trace/span ids from otel to datadog format.
Types ¶
type SpanLogValuesProcessor ¶
SpanLogValuesProcessor should be a function which process received trace.Span. Returned []]interface{} will be later added as logger values.
func FromSpanLogValuesProcessorContext ¶
func FromSpanLogValuesProcessorContext(ctx context.Context) (SpanLogValuesProcessor, bool)
Click to show internal directories.
Click to hide internal directories.