traefik/docs/content/observability/tracing/instana.md

91 lines
1.3 KiB
Markdown
Raw Normal View History

2019-06-27 22:16:04 +00:00
# Instana
To enable the Instana:
2019-07-16 07:54:04 +00:00
```toml tab="File (TOML)"
2019-06-27 22:16:04 +00:00
[tracing]
[tracing.instana]
```
2019-07-16 07:54:04 +00:00
```yaml tab="File (YAML)"
tracing:
instana: {}
```
2019-06-27 22:16:04 +00:00
```bash tab="CLI"
2019-07-22 07:58:04 +00:00
--tracing.instana=true
2019-06-27 22:16:04 +00:00
```
#### `localAgentHost`
_Require, Default="127.0.0.1"_
Local Agent Host instructs reporter to send spans to instana-agent at this address.
2019-07-16 07:54:04 +00:00
```toml tab="File (TOML)"
2019-06-27 22:16:04 +00:00
[tracing]
[tracing.instana]
localAgentHost = "127.0.0.1"
```
2019-07-16 07:54:04 +00:00
```yaml tab="File (YAML)"
tracing:
instana:
localAgentHost: 127.0.0.1
```
2019-06-27 22:16:04 +00:00
```bash tab="CLI"
--tracing.instana.localAgentHost=127.0.0.1
2019-06-27 22:16:04 +00:00
```
#### `localAgentPort`
_Require, Default=42699_
Local Agent port instructs reporter to send spans to the instana-agent at this port.
2019-07-16 07:54:04 +00:00
```toml tab="File (TOML)"
2019-06-27 22:16:04 +00:00
[tracing]
[tracing.instana]
localAgentPort = 42699
```
2019-07-16 07:54:04 +00:00
```yaml tab="File (YAML)"
tracing:
instana:
localAgentPort: 42699
```
2019-06-27 22:16:04 +00:00
```bash tab="CLI"
--tracing.instana.localAgentPort=42699
```
#### `logLevel`
_Require, Default="info"_
Set Instana tracer log level.
Valid values for logLevel field are:
- `error`
- `warn`
- `debug`
- `info`
2019-07-16 07:54:04 +00:00
```toml tab="File (TOML)"
2019-06-27 22:16:04 +00:00
[tracing]
[tracing.instana]
logLevel = "info"
```
2019-07-16 07:54:04 +00:00
```yaml tab="File (YAML)"
tracing:
instana:
logLevel: info
```
2019-06-27 22:16:04 +00:00
```bash tab="CLI"
--tracing.instana.logLevel=info
2019-06-27 22:16:04 +00:00
```