Documentation
¶
Overview ¶
Package webtrace implements shims for reporting tracing spans from web applications.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Tracer ¶
func Tracer(tracer opentracing.Tracer, options ...TracerOption) web.Tracer
Tracer returns a web tracer.
Types ¶
type TracerOption ¶ added in v1.20240719.1
type TracerOption func(*webTracer)
TracerOption is a tracer option.
func OptIncludeCtxLabels ¶ added in v1.20240719.1
func OptIncludeCtxLabels(includeCtxLabels bool) TracerOption
OptIncludeCtxLabels toggles the option to include ctx labels in DD APM trace spans.
Click to show internal directories.
Click to hide internal directories.