trace

package module
v0.43.0-rc.5 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 8, 2023 License: Apache-2.0 Imports: 0 Imported by: 0

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
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.
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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL