trace

package module
v0.36.0-rc.12 Latest Latest
Warning

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

Go to latest
Published: May 18, 2022 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
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 Currently implementation is based on the scoring of the "signature" of each trace Based on the score, we get a sample rate to apply to the given trace Current score implementation is super-simple, it is a counter with polynomial decay per signature.
Package sampler contains all the logic of the agent-side trace sampling Currently implementation is based on the scoring of the "signature" of each trace Based on the score, we get a sample rate to apply to the given trace Current score implementation is super-simple, it is a counter with polynomial decay per signature.
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