Documentation ¶
Overview ¶
Package tracing provides Datadog tracing utilities
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewTracer ¶
func NewTracer(opts TracerOptions) interceptor.Tracer
NewTracer creates an interceptor for setting on client options that implements Datadog tracing for workflows.
func NewTracingInterceptor ¶
func NewTracingInterceptor(opts TracerOptions) interceptor.Interceptor
NewTracingInterceptor convenience method that wraps a NeTracer() with a tracing interceptor
Types ¶
type TracerOptions ¶
type TracerOptions struct { // DisableSignalTracing can be set to disable signal tracing. DisableSignalTracing bool // DisableQueryTracing can be set to disable query tracing. DisableQueryTracing bool // DisableUpdateTracing can be set to disable update tracing. DisableUpdateTracing bool // OnFinish sets finish options. // If unset, this will use [tracer.WithError] // in case [interceptor.TracerFinishSpanOptions.Error] is non-nil and not [workflow.IsContinueAsNewError]. OnFinish func(options *interceptor.TracerFinishSpanOptions) []tracer.FinishOption }
TracerOptions are options provided to NewInterceptor
Click to show internal directories.
Click to hide internal directories.