1.6 KiB
1.6 KiB
DataDog
To enable the DataDog:
[tracing]
[tracing.dataDog]
tracing:
dataDog: {}
--tracing
--tracing.datadog
localAgentHostPort
Required, Default="127.0.0.1:8126"
Local Agent Host Port instructs reporter to send spans to datadog-tracing-agent at this address.
[tracing]
[tracing.dataDog]
localAgentHostPort = "127.0.0.1:8126"
tracing:
dataDog:
localAgentHostPort: 127.0.0.1:8126
--tracing
--tracing.datadog.localAgentHostPort="127.0.0.1:8126"
debug
Optional, Default=false
Enable DataDog debug.
[tracing]
[tracing.dataDog]
debug = true
tracing:
dataDog:
debug: true
--tracing
--tracing.datadog.debug=true
globalTag
Optional, Default=empty
Apply shared tag in a form of Key:Value to all the traces.
[tracing]
[tracing.dataDog]
globalTag = "sample"
tracing:
dataDog:
globalTag: sample
--tracing
--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.
[tracing]
[tracing.dataDog]
prioritySampling = true
tracing:
dataDog:
prioritySampling: true
--tracing
--tracing.datadog.prioritySampling=true