Haystack

To enable the Haystack:

  1. [tracing]
  2. [tracing.haystack]
  1. tracing:
  2. haystack: {}
  1. --tracing.haystack=true

localAgentHost

Require, Default="127.0.0.1"

Local Agent Host instructs reporter to send spans to haystack-agent at this address.

  1. [tracing]
  2. [tracing.haystack]
  3. localAgentHost = "127.0.0.1"
  1. tracing:
  2. haystack:
  3. localAgentHost: 127.0.0.1
  1. --tracing.haystack.localAgentHost="127.0.0.1"

localAgentPort

Require, Default=42699

Local Agent port instructs reporter to send spans to the haystack-agent at this port.

  1. [tracing]
  2. [tracing.haystack]
  3. localAgentPort = 42699
  1. tracing:
  2. haystack:
  3. localAgentPort: 42699
  1. --tracing.haystack.localAgentPort=42699

globalTag

Optional, Default=empty

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

  1. [tracing]
  2. [tracing.haystack]
  3. globalTag = "sample:test"
  1. tracing:
  2. haystack:
  3. globalTag: sample:test
  1. --tracing.haystack.globalTag="sample:test"

traceIDHeaderName

Optional, Default=empty

Specifies the header name that will be used to store the trace ID.

  1. [tracing]
  2. [tracing.haystack]
  3. traceIDHeaderName = "sample"
  1. tracing:
  2. haystack:
  3. traceIDHeaderName: sample
  1. --tracing.haystack.traceIDHeaderName="sample"

parentIDHeaderName

Optional, Default=empty

Specifies the header name that will be used to store the span ID.

  1. [tracing]
  2. [tracing.haystack]
  3. parentIDHeaderName = "sample"
  1. tracing:
  2. haystack:
  3. parentIDHeaderName: "sample"
  1. --tracing.haystack.parentIDHeaderName="sample"

spanIDHeaderName

Optional, Default=empty

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

  1. [tracing]
  2. [tracing.haystack]
  3. spanIDHeaderName = "sample:test"
  1. tracing:
  2. haystack:
  3. spanIDHeaderName: "sample:test"
  1. --tracing.haystack.spanIDHeaderName=sample:test

baggagePrefixHeaderName

Optional, Default=empty

Specifies the header name prefix that will be used to store baggage items in a map.

  1. [tracing]
  2. [tracing.haystack]
  3. baggagePrefixHeaderName = "sample"
  1. tracing:
  2. haystack:
  3. baggagePrefixHeaderName: "sample"
  1. --tracing.haystack.baggagePrefixHeaderName="sample"