Datadog¶
To enable the Datadog tracer:
tracing:
datadog: {}[tracing]
[tracing.datadog]--tracing.datadog=truelocalAgentHostPort¶
Required, Default="127.0.0.1:8126"
Local Agent Host Port instructs the reporter to send spans to the Datadog Agent at this address (host:port).
tracing:
datadog:
localAgentHostPort: 127.0.0.1:8126[tracing]
[tracing.datadog]
localAgentHostPort = "127.0.0.1:8126"--tracing.datadog.localAgentHostPort=127.0.0.1:8126debug¶
Optional, Default=false
Enables Datadog debug.
tracing:
datadog:
debug: true[tracing]
[tracing.datadog]
debug = true--tracing.datadog.debug=trueglobalTag¶
Optional, Default=empty
Applies a shared key:value tag on all spans.
tracing:
datadog:
globalTag: sample[tracing]
[tracing.datadog]
globalTag = "sample"--tracing.datadog.globalTag=sampleprioritySampling¶
Optional, Default=false
Enables priority sampling. When using distributed tracing, this option must be enabled in order to get all the parts of a distributed trace sampled.
tracing:
datadog:
prioritySampling: true[tracing]
[tracing.datadog]
prioritySampling = true--tracing.datadog.prioritySampling=true