Haystack

    File (TOML)

    File (YAML)

    1. tracing:
    2. haystack: {}

    CLI

    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.

    File (TOML)

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

    File (YAML)

    1. tracing:
    2. haystack:
    3. localAgentHost: 127.0.0.1

    CLI

    1. --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 (TOML)

    1. localAgentPort = 35000

    File (YAML)

    1. tracing:
    2. haystack:
    3. localAgentPort: 35000

    globalTag

    Optional, Default=empty

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

    File (TOML)

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

    File (YAML)

    1. tracing:
    2. haystack:
    3. globalTag: sample:test

    CLI

    1. --tracing.haystack.globalTag=sample:test

    traceIDHeaderName

    Optional, Default=empty

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

    File (TOML)

    1. [tracing]
    2. [tracing.haystack]
    3. traceIDHeaderName = "Trace-ID"

    File (YAML)

    1. tracing:
    2. haystack:

    CLI

    parentIDHeaderName

    Optional, Default=empty

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

    1. [tracing]
    2. [tracing.haystack]
    3. parentIDHeaderName = "Parent-Message-ID"

    File (YAML)

    CLI

    1. --tracing.haystack.parentIDHeaderName=Parent-Message-ID

    spanIDHeaderName

    Optional, Default=empty

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

    File (TOML)

    1. [tracing]
    2. [tracing.haystack]
    3. spanIDHeaderName = "Message-ID"

    File (YAML)

    1. tracing:
    2. haystack:
    3. spanIDHeaderName: Message-ID

    CLI

    1. --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 (TOML)

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

    File (YAML)

    1. tracing:
    2. haystack:

    CLI

    1. --tracing.haystack.baggagePrefixHeaderName=sample