package
1.59.5
Repository: https://github.com/nowfred/dd-trace-go.git
Documentation: pkg.go.dev

# Packages

No description provided by the author
No description provided by the author
Package globalconfig stores configuration which applies globally to both the tracer and integrations.
No description provided by the author
Package httpmem provides an in-memory HTTP server and client, for testing.
Package log provides logging utilities for the tracer.
Package namingschema allows to use the naming schema from the integrations to set different service and span/operation names based on the value of the DD_TRACE_SPAN_ATTRIBUTE_SCHEMA environment variable.
Package normalizer provides tag normalization.
Package osinfo provides information about the current operating system release.
No description provided by the author
No description provided by the author
Package telemetry implements a client for sending telemetry information to Datadog regarding usage of an APM library such as tracing or profiling.
Package traceprof contains shared logic for cross-cutting tracer/profiler features.
No description provided by the author

# Functions

AgentURLFromEnv determines the trace agent URL from environment variable DD_TRACE_AGENT_URL.
BoolEnv returns the parsed boolean value of an environment variable, or def otherwise.
CleanGitMetadataTags cleans up tags from git metadata.
ContainerID attempts to return the container ID from /proc/self/cgroup or empty on failure.
DurationEnv returns the parsed duration value of an environment variable, or def otherwise.
EntityID attempts to return the container ID or the cgroup node controller's inode if the container ID is not available.
FloatEnv returns the parsed float64 value of an environment variable, or def otherwise.
ForEachStringTag runs fn on every key:val pair encountered in str.
GetGitMetadataTags returns git metadata tags.
GetTracerGitMetadataTags returns git metadata tags for tracer NB: Currently tracer inject tags with some workaround (only with _dd prefix and only for the first span in payload) So we provide different tag names.
IntEnv returns the parsed int value of an environment variable, or def otherwise.
IsExecutionTraced returns whether ctx is associated with an execution trace task, as indicated via WithExecutionTraced.
No description provided by the author
ParseTagString returns tags parsed from string as map.
ResetGitMetadataTags reset cashed metadata tags.
WithExecutionNotTraced marks that the context is *not* covered by an execution trace task.
WithExecutionTraced marks ctx as being associated with an execution trace task.

# Constants

EnvDDTags specifies the environment variable name global tags.
EnvGitCommitSha specifies the environment variable name git commit sha.
EnvGitMetadataEnabledFlag specifies the environment variable name for enable/disable.
EnvGitRepositoryURL specifies the environment variable name for git repository URL.
TagCommitSha specifies the tag name for git commit sha.
TagGoPath specifies the tag name for go module path.
TagRepositoryURL specifies the tag name for git repository URL.
TraceTagCommitSha specifies the trace tag name for git commit sha.
TraceTagGoPath specifies the trace tag name for go module path.
TraceTagRepositoryURL specifies the trace tag name for git repository URL.

# Variables

ActiveSpanKey is used to set tracer context on a context.Context objects with a unique key.

# Structs

LockMap uses an RWMutex to synchronize map access to allow for concurrent access.

# Interfaces

No description provided by the author