diff --git a/docs/content/reference/static-configuration/cli-ref.md b/docs/content/reference/static-configuration/cli-ref.md index e2b6322e2..54ddd8cd8 100644 --- a/docs/content/reference/static-configuration/cli-ref.md +++ b/docs/content/reference/static-configuration/cli-ref.md @@ -529,7 +529,7 @@ Specifies the header name that will be used to store the trace ID. Settings for Instana. (Default: ```false```) `--tracing.instana.localagenthost`: -Set instana-agent's host that the reporter will used. (Default: ```localhost```) +Set instana-agent's host that the reporter will used. `--tracing.instana.localagentport`: Set instana-agent's port that the reporter will used. (Default: ```42699```) diff --git a/docs/content/reference/static-configuration/env-ref.md b/docs/content/reference/static-configuration/env-ref.md index 1e7a79b83..60327d5db 100644 --- a/docs/content/reference/static-configuration/env-ref.md +++ b/docs/content/reference/static-configuration/env-ref.md @@ -529,7 +529,7 @@ Specifies the header name that will be used to store the trace ID. Settings for Instana. (Default: ```false```) `TRAEFIK_TRACING_INSTANA_LOCALAGENTHOST`: -Set instana-agent's host that the reporter will used. (Default: ```localhost```) +Set instana-agent's host that the reporter will used. `TRAEFIK_TRACING_INSTANA_LOCALAGENTPORT`: Set instana-agent's port that the reporter will used. (Default: ```42699```) diff --git a/pkg/tracing/instana/instana.go b/pkg/tracing/instana/instana.go index e2912bbdd..8bd86944e 100644 --- a/pkg/tracing/instana/instana.go +++ b/pkg/tracing/instana/instana.go @@ -20,7 +20,6 @@ type Config struct { // SetDefaults sets the default values. func (c *Config) SetDefaults() { - c.LocalAgentHost = "localhost" c.LocalAgentPort = 42699 c.LogLevel = "info" }