Let instana/go-sensor handle default agent host
This commit is contained in:
parent
554e3e9e6e
commit
a829d44b51
3 changed files with 2 additions and 3 deletions
|
@ -529,7 +529,7 @@ Specifies the header name that will be used to store the trace ID.
|
||||||
Settings for Instana. (Default: ```false```)
|
Settings for Instana. (Default: ```false```)
|
||||||
|
|
||||||
`--tracing.instana.localagenthost`:
|
`--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`:
|
`--tracing.instana.localagentport`:
|
||||||
Set instana-agent's port that the reporter will used. (Default: ```42699```)
|
Set instana-agent's port that the reporter will used. (Default: ```42699```)
|
||||||
|
|
|
@ -529,7 +529,7 @@ Specifies the header name that will be used to store the trace ID.
|
||||||
Settings for Instana. (Default: ```false```)
|
Settings for Instana. (Default: ```false```)
|
||||||
|
|
||||||
`TRAEFIK_TRACING_INSTANA_LOCALAGENTHOST`:
|
`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`:
|
`TRAEFIK_TRACING_INSTANA_LOCALAGENTPORT`:
|
||||||
Set instana-agent's port that the reporter will used. (Default: ```42699```)
|
Set instana-agent's port that the reporter will used. (Default: ```42699```)
|
||||||
|
|
|
@ -20,7 +20,6 @@ type Config struct {
|
||||||
|
|
||||||
// SetDefaults sets the default values.
|
// SetDefaults sets the default values.
|
||||||
func (c *Config) SetDefaults() {
|
func (c *Config) SetDefaults() {
|
||||||
c.LocalAgentHost = "localhost"
|
|
||||||
c.LocalAgentPort = 42699
|
c.LocalAgentPort = 42699
|
||||||
c.LogLevel = "info"
|
c.LogLevel = "info"
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue