Documentation ¶
Overview ¶
Package apm provides functionality to detect the type of APM instrumentation a service is using.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Instrumentation ¶
type Instrumentation string
Instrumentation represents the state of APM instrumentation for a service.
const ( // None means the service is not instrumented with APM. None Instrumentation = "none" // Provided means the service has been manually instrumented. Provided Instrumentation = "provided" // Injected means the service is using automatic APM injection. Injected Instrumentation = "injected" )
func Detect ¶
func Detect(lang language.Language, ctx usm.DetectionContext) Instrumentation
Detect attempts to detect the type of APM instrumentation for the given service.
Directories ¶
Path | Synopsis |
---|---|
testutil
|
|
instrumented
Package main is a go application which use dd-trace-go, in order to test static APM instrumentation detection.
|
Package main is a go application which use dd-trace-go, in order to test static APM instrumentation detection. |
Click to show internal directories.
Click to hide internal directories.