2022-04-15 13:44:08 +00:00
---
title: "Traefik Instana Documentation"
description: "Traefik supports several tracing backends, including Instana. Learn how to implement it for observability in Traefik Proxy. Read the technical documentation."
---
2019-06-27 22:16:04 +00:00
# Instana
2021-09-29 09:52:08 +00:00
To enable the Instana tracer:
2019-06-27 22:16:04 +00:00
2019-07-16 07:54:04 +00:00
```yaml tab="File (YAML)"
tracing:
instana: {}
```
2021-06-18 22:08:08 +00:00
```toml tab="File (TOML)"
[tracing]
[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`
2021-09-29 09:52:08 +00:00
_Required, Default="127.0.0.1"_
2019-06-27 22:16:04 +00:00
2021-09-29 09:52:08 +00:00
Local Agent Host instructs reporter to send spans to the Instana Agent at this address.
2019-06-27 22:16:04 +00:00
2019-07-16 07:54:04 +00:00
```yaml tab="File (YAML)"
tracing:
instana:
localAgentHost: 127.0.0.1
```
2021-06-18 22:08:08 +00:00
```toml tab="File (TOML)"
[tracing]
[tracing.instana]
localAgentHost = "127.0.0.1"
```
2019-06-27 22:16:04 +00:00
```bash tab="CLI"
2019-11-19 09:18:05 +00:00
--tracing.instana.localAgentHost=127.0.0.1
2019-06-27 22:16:04 +00:00
```
#### `localAgentPort`
2021-09-29 09:52:08 +00:00
_Required, Default=42699_
2019-06-27 22:16:04 +00:00
2021-09-29 09:52:08 +00:00
Local Agent port instructs reporter to send spans to the Instana Agent listening on this port.
2019-06-27 22:16:04 +00:00
2019-07-16 07:54:04 +00:00
```yaml tab="File (YAML)"
tracing:
instana:
localAgentPort: 42699
```
2021-06-18 22:08:08 +00:00
```toml tab="File (TOML)"
[tracing]
[tracing.instana]
localAgentPort = 42699
```
2019-06-27 22:16:04 +00:00
```bash tab="CLI"
--tracing.instana.localAgentPort=42699
```
#### `logLevel`
2021-09-29 09:52:08 +00:00
_Required, Default="info"_
2019-06-27 22:16:04 +00:00
2021-09-29 08:40:14 +00:00
Sets Instana tracer log level.
2019-06-27 22:16:04 +00:00
2021-09-29 08:40:14 +00:00
Valid values are:
2019-06-27 22:16:04 +00:00
- `error`
- `warn`
- `debug`
- `info`
2019-07-16 07:54:04 +00:00
```yaml tab="File (YAML)"
tracing:
instana:
logLevel: info
```
2021-06-18 22:08:08 +00:00
```toml tab="File (TOML)"
[tracing]
[tracing.instana]
logLevel = "info"
```
2019-06-27 22:16:04 +00:00
```bash tab="CLI"
2019-11-19 09:18:05 +00:00
--tracing.instana.logLevel=info
2019-06-27 22:16:04 +00:00
```
2021-09-29 09:52:08 +00:00
#### `enableAutoProfile`
_Required, Default=false_
2022-01-19 15:35:06 +00:00
Enables [automatic profiling ](https://www.ibm.com/docs/en/obi/current?topic=instana-profile-processes ) for the Traefik process.
2021-09-29 09:52:08 +00:00
```yaml tab="File (YAML)"
tracing:
instana:
enableAutoProfile: true
```
```toml tab="File (TOML)"
[tracing]
[tracing.instana]
enableAutoProfile = true
```
```bash tab="CLI"
--tracing.instana.enableAutoProfile=true
```