Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AddTraceHeadersToResponse ¶
AddTraceHeadersToResponse adds the APM trace headers to the response.
Does nothing if there is no transaction in the context.
func SetupDiscardTracer ¶
func SetupDiscardTracer() error
SetupDiscardTracer globally sets up a discard tracer that does not send any traces.
We override the default tracer because this will affect all APM traces, even those created by libraries we include, which often just use the default tracer.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.