Elastic

    File (YAML)

    File (TOML)

    1. [tracing]
    2. [tracing.elastic]

    CLI

    1. --tracing.elastic=true

    serverURL

    Optional, Default=”http://localhost:8200

    URL of the Elastic APM server.

    1. elastic:

    File (TOML)

    CLI

    1. --tracing.elastic.serverurl="http://apm:8200"

    secretToken

    Optional, Default=””

    Token used to connect to Elastic APM Server.

    File (YAML)

    1. tracing:
    2. elastic:
    3. secretToken: "mytoken"
    1. [tracing]
    2. secretToken = "mytoken"

    CLI

    Optional, Default=””

    Environment’s name where Traefik is deployed in, e.g. production or staging.

    File (YAML)

    1. tracing:
    2. elastic:
    3. serviceEnvironment: "production"

    File (TOML)

    1. [tracing]
    2. [tracing.elastic]
    3. serviceEnvironment = "production"

      Additional configuration of Elastic APM Go agent can be done using environment variables. See APM Go agent reference.