Datadog

To enable the Datadog:

  1. [tracing]
  2. [tracing.datadog]
  1. tracing:
  2. datadog: {}
  1. --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.

  1. [tracing]
  2. [tracing.datadog]
  3. localAgentHostPort = "127.0.0.1:8126"
  1. tracing:
  2. datadog:
  3. localAgentHostPort: 127.0.0.1:8126
  1. --tracing.datadog.localAgentHostPort=127.0.0.1:8126

debug

Optional, Default=false

Enable Datadog debug.

  1. [tracing]
  2. [tracing.datadog]
  3. debug = true
  1. tracing:
  2. datadog:
  3. debug: true
  1. --tracing.datadog.debug=true

globalTag

Optional, Default=empty

Apply shared tag in a form of Key:Value to all the traces.

  1. [tracing]
  2. [tracing.datadog]
  3. globalTag = "sample"
  1. tracing:
  2. datadog:
  3. globalTag: sample
  1. --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.

  1. [tracing]
  2. [tracing.datadog]
  3. prioritySampling = true
  1. tracing:
  2. datadog:
  3. prioritySampling: true
  1. --tracing.datadog.prioritySampling=true