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 |
---|---|
Package agent implements the trace-agent.
|
Package agent implements the trace-agent. |
Package api implements the HTTP server that receives payloads from clients.
|
Package api implements the HTTP server that receives payloads from clients. |
apiutil
Package apiutil provides utility functions for the API.
|
Package apiutil provides utility functions for the API. |
internal/header
Package header defines HTTP headers known convention used by the Trace Agent and Datadog's APM intake.
|
Package header defines HTTP headers known convention used by the Trace Agent and Datadog's APM intake. |
Package config contains the configuration for the trace-agent.
|
Package config contains the configuration for the trace-agent. |
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 filters provides a way to filter out spans based on their properties.
|
Package filters provides a way to filter out spans based on their properties. |
Package info exposes internal information about the trace-agent.
|
Package info exposes internal information about the trace-agent. |
Package log implements the trace-agent logger.
|
Package log implements the trace-agent logger. |
metrics
|
|
client
Module
|
|
Package pb contains utility functions for working with protobuf messages.
|
Package pb contains utility functions for working with protobuf messages. |
Package remoteconfighandler holds the logic responsible for updating the samplers when the remote configuration changes.
|
Package remoteconfighandler holds the logic responsible for updating the samplers when the remote configuration changes. |
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 stats contains the logic to process APM stats.
|
Package stats contains the logic to process APM stats. |
oteltest
Module
|
|
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 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. |
Package traceutil contains functions for extracting and processing traces.
|
Package traceutil contains functions for extracting and processing traces. |
Package version comprises functions that are used to retrieve *app* version data from incoming traces.
|
Package version comprises functions that are used to retrieve *app* version data from incoming traces. |
Package watchdog monitors the trace-agent resource usage.
|
Package watchdog monitors the trace-agent resource usage. |
Package writer contains the logic for sending payloads to the Datadog intake.
|
Package writer contains the logic for sending payloads to the Datadog intake. |
Click to show internal directories.
Click to hide internal directories.