1
0
Fork 0

Fix tracing documentation

This commit is contained in:
Michael 2024-09-03 14:02:03 +02:00 committed by GitHub
parent cf2869407d
commit 533c102d4f
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -85,7 +85,7 @@ tracing:
```toml tab="File (TOML)" ```toml tab="File (TOML)"
[tracing] [tracing]
sampleRate = 0.2 sampleRate = 0.2
``` ```
```bash tab="CLI" ```bash tab="CLI"
@ -107,9 +107,9 @@ tracing:
```toml tab="File (TOML)" ```toml tab="File (TOML)"
[tracing] [tracing]
[tracing.globalAttributes] [tracing.globalAttributes]
attr1 = "foo" attr1 = "foo"
attr2 = "bar" attr2 = "bar"
``` ```
```bash tab="CLI" ```bash tab="CLI"
@ -132,7 +132,7 @@ tracing:
```toml tab="File (TOML)" ```toml tab="File (TOML)"
[tracing] [tracing]
capturedRequestHeaders = ["X-CustomHeader"] capturedRequestHeaders = ["X-CustomHeader"]
``` ```
```bash tab="CLI" ```bash tab="CLI"
@ -154,7 +154,7 @@ tracing:
```toml tab="File (TOML)" ```toml tab="File (TOML)"
[tracing] [tracing]
capturedResponseHeaders = ["X-CustomHeader"] capturedResponseHeaders = ["X-CustomHeader"]
``` ```
```bash tab="CLI" ```bash tab="CLI"
@ -170,14 +170,14 @@ Defines the list of query parameters to not redact.
```yaml tab="File (YAML)" ```yaml tab="File (YAML)"
tracing: tracing:
safeQueryParams: safeQueryParams:
- bar - bar
- buz - buz
``` ```
```toml tab="File (TOML)" ```toml tab="File (TOML)"
[tracing] [tracing]
safeQueryParams = ["bar", "buz"] safeQueryParams = ["bar", "buz"]
``` ```
```bash tab="CLI" ```bash tab="CLI"