Haystack
To enable the Haystack:
File (YAML)
tracing:
haystack: {}
File (TOML)
[tracing]
[tracing.haystack]
CLI
--tracing.haystack=true
localAgentHost
Require, Default=”127.0.0.1”
Local Agent Host instructs reporter to send spans to haystack-agent at this address.
File (YAML)
tracing:
haystack:
localAgentHost: 127.0.0.1
File (TOML)
[tracing]
[tracing.haystack]
localAgentHost = "127.0.0.1"
CLI
--tracing.haystack.localAgentHost=127.0.0.1
localAgentPort
Require, Default=35000
Local Agent port instructs reporter to send spans to the haystack-agent at this port.
File (YAML)
tracing:
haystack:
localAgentPort: 35000
File (TOML)
[tracing]
[tracing.haystack]
localAgentPort = 35000
CLI
--tracing.haystack.localAgentPort=35000
globalTag
Optional, Default=empty
Apply shared tag in a form of Key:Value to all the traces.
File (YAML)
tracing:
haystack:
globalTag: sample:test
File (TOML)
[tracing]
[tracing.haystack]
globalTag = "sample:test"
CLI
--tracing.haystack.globalTag=sample:test
traceIDHeaderName
Optional, Default=empty
Specifies the header name that will be used to store the trace ID.
File (YAML)
tracing:
haystack:
traceIDHeaderName: Trace-ID
File (TOML)
[tracing]
[tracing.haystack]
traceIDHeaderName = "Trace-ID"
CLI
--tracing.haystack.traceIDHeaderName=Trace-ID
parentIDHeaderName
Optional, Default=empty
Specifies the header name that will be used to store the parent ID.
File (YAML)
tracing:
haystack:
parentIDHeaderName: Parent-Message-ID
File (TOML)
[tracing]
[tracing.haystack]
parentIDHeaderName = "Parent-Message-ID"
CLI
--tracing.haystack.parentIDHeaderName=Parent-Message-ID
spanIDHeaderName
Optional, Default=empty
Specifies the header name that will be used to store the span ID.
File (YAML)
tracing:
haystack:
spanIDHeaderName: Message-ID
File (TOML)
[tracing]
[tracing.haystack]
spanIDHeaderName = "Message-ID"
CLI
--tracing.haystack.spanIDHeaderName=Message-ID
baggagePrefixHeaderName
Optional, Default=empty
Specifies the header name prefix that will be used to store baggage items in a map.
File (YAML)
tracing:
haystack:
baggagePrefixHeaderName: "sample"
File (TOML)
[tracing]
[tracing.haystack]
baggagePrefixHeaderName = "sample"
CLI
--tracing.haystack.baggagePrefixHeaderName=sample