Haystack¶
To enable the Haystack:
[tracing]
[tracing.haystack]
tracing:
haystack: {}
--tracing.haystack=true
localAgentHost
¶
Require, Default="127.0.0.1"
Local Agent Host instructs reporter to send spans to haystack-agent at this address.
[tracing]
[tracing.haystack]
localAgentHost = "127.0.0.1"
tracing:
haystack:
localAgentHost: 127.0.0.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.
[tracing]
[tracing.haystack]
localAgentPort = 42699
tracing:
haystack:
localAgentPort: 42699
--tracing.haystack.localAgentPort=42699
globalTag
¶
Optional, Default=empty
Apply shared tag in a form of Key:Value to all the traces.
[tracing]
[tracing.haystack]
globalTag = "sample:test"
tracing:
haystack:
globalTag: sample:test
--tracing.haystack.globalTag=sample:test
traceIDHeaderName
¶
Optional, Default=empty
Specifies the header name that will be used to store the trace ID.
[tracing]
[tracing.haystack]
traceIDHeaderName = "sample"
tracing:
haystack:
traceIDHeaderName: sample
--tracing.haystack.traceIDHeaderName=sample
parentIDHeaderName
¶
Optional, Default=empty
Specifies the header name that will be used to store the span ID.
[tracing]
[tracing.haystack]
parentIDHeaderName = "sample"
tracing:
haystack:
parentIDHeaderName: "sample"
--tracing.haystack.parentIDHeaderName=sample
spanIDHeaderName
¶
Optional, Default=empty
Apply shared tag in a form of Key:Value to all the traces.
[tracing]
[tracing.haystack]
spanIDHeaderName = "sample:test"
tracing:
haystack:
spanIDHeaderName: "sample:test"
--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.
[tracing]
[tracing.haystack]
baggagePrefixHeaderName = "sample"
tracing:
haystack:
baggagePrefixHeaderName: "sample"
--tracing.haystack.baggagePrefixHeaderName=sample