Datadog
To enable the Datadog:
File (YAML)
tracing:
datadog: {}
File (TOML)
[tracing]
[tracing.datadog]
CLI
--tracing.datadog=true
localAgentHostPort
Required, Default=”127.0.0.1:8126”
Local Agent Host Port instructs reporter to send spans to datadog-tracing-agent at this address.
File (YAML)
tracing:
datadog:
localAgentHostPort: 127.0.0.1:8126
File (TOML)
[tracing]
[tracing.datadog]
localAgentHostPort = "127.0.0.1:8126"
CLI
--tracing.datadog.localAgentHostPort=127.0.0.1:8126
debug
Optional, Default=false
Enable Datadog debug.
File (YAML)
tracing:
datadog:
debug: true
File (TOML)
[tracing]
[tracing.datadog]
debug = true
CLI
--tracing.datadog.debug=true
globalTag
Optional, Default=empty
Apply shared tag in a form of Key:Value to all the traces.
File (YAML)
tracing:
datadog:
globalTag: sample
File (TOML)
[tracing]
[tracing.datadog]
globalTag = "sample"
CLI
--tracing.datadog.globalTag=sample
prioritySampling
Optional, Default=false
Enable priority sampling. When using distributed tracing, this option must be enabled in order to get all the parts of a distributed trace sampled.
File (YAML)
tracing:
datadog:
prioritySampling: true
File (TOML)
[tracing]
[tracing.datadog]
prioritySampling = true
CLI
--tracing.datadog.prioritySampling=true