Documentation ¶
Overview ¶
Package trace encapsulates a module which contains the entirety of the trace-agent's processing pipeline. The code may be reused to process traces in the same way that the Datadog Agent does, but outside of it.
Please note that the API is subject to major changes and should not be relied upon as being stable.
Directories ¶
Path | Synopsis |
---|---|
features
Package features provides an API for enabling features and checking if a given feature is enabled.
|
Package features provides an API for enabling features and checking if a given feature is enabled. |
configdefs
Module
|
|
Package event contains functionality related to APM event extraction from traces.
|
Package event contains functionality related to APM event extraction from traces. |
export
module
|
|
exportable
module
|
|
Package metrics exposes utilities for setting up and using a sub-set of Datadog's dogstatsd client.
|
Package metrics exposes utilities for setting up and using a sub-set of Datadog's dogstatsd client. |
timing
Package timing is used to aggregate timing calls within hotpaths to avoid using repeated statsd calls.
|
Package timing is used to aggregate timing calls within hotpaths to avoid using repeated statsd calls. |
client
Module
|
|
Package pb contains the data structures used by the trace agent to communicate with tracers and the Datadog API.
|
Package pb contains the data structures used by the trace agent to communicate with tracers and the Datadog API. |
Package sampler contains all the logic of the agent-side trace sampling
|
Package sampler contains all the logic of the agent-side trace sampling |
Package teststatsd provides a statsd client that maintains internal stats for unit testing various packages.
|
Package teststatsd provides a statsd client that maintains internal stats for unit testing various packages. |
Package testutil provides easy ways to generate some random or deterministic data that can be use for tests or benchmarks.
|
Package testutil provides easy ways to generate some random or deterministic data that can be use for tests or benchmarks. |
Package traceutil contains functions for extracting and processing traces.
|
Package traceutil contains functions for extracting and processing traces. |
Click to show internal directories.
Click to hide internal directories.