1
0
Fork 0

Improve tracing documentation

This commit is contained in:
Michael 2019-07-16 09:54:04 +02:00 committed by Traefiker Bot
parent a17ac23457
commit 889b38f75a
6 changed files with 255 additions and 38 deletions

View file

@ -21,10 +21,14 @@ By default, Traefik uses Jaeger as tracing backend.
To enable the tracing:
```toml tab="File"
```toml tab="File (TOML)"
[tracing]
```
```yaml tab="File (YAML)"
tracing: {}
```
```bash tab="CLI"
--tracing
```
@ -37,11 +41,16 @@ _Required, Default="traefik"_
Service name used in selected backend.
```toml tab="File"
```toml tab="File (TOML)"
[tracing]
serviceName = "traefik"
```
```yaml tab="File (YAML)"
tracing:
serviceName: traefik
```
```bash tab="CLI"
--tracing
--tracing.serviceName="traefik"
@ -56,11 +65,16 @@ This can prevent certain tracing providers to drop traces that exceed their leng
`0` means no truncation will occur.
```toml tab="File"
```toml tab="File (TOML)"
[tracing]
spanNameLimit = 150
```
```yaml tab="File (YAML)"
tracing:
spanNameLimit: 150
```
```bash tab="CLI"
--tracing
--tracing.spanNameLimit=150