Repository: traefik/traefik (language: go)

Issue:
There is an issue with the description of `safeQueryParams` in the v3.1 documentation
### Welcome!

- [X] Yes, I've searched similar issues on [GitHub](https://github.com/traefik/traefik/issues) and didn't find any.
- [X] Yes, I've searched similar issues on the [Traefik community forum](https://community.traefik.io) and didn't find any.

### What did you do?

I followed the documentation for version v3.1 (which is currently the latest) to configure the tracing module, but Traefik reported an error during startup. 

I tried changing the parameter to `--tracing.safeQueryParams=bar,buz`, and Traefik started working properly.

https://doc.traefik.io/traefik/observability/tracing/overview/
<img width="1123" alt="image" src="https://github.com/user-attachments/assets/3bfdc8fb-e1fb-4a53-91d7-f35c02346b67">


### What did you see instead?

During startup, the following error was reported:

`{"level":"error","error":"command traefik error: failed to decode configuration from flags: field not found, node: safeQueryParams","time":"2024-08-29T08:34:19Z","message":"Command error"}`

### What version of Traefik are you using?

Version:      3.1.2
Codename:     comte
Go version:   go1.22.5
Built:        2024-08-06T13:37:51Z
OS/Arch:      linux/arm64

### What is your environment & configuration?

```yaml
# (paste your configuration here)
```

Add more configuration information here.


### If applicable, please paste the log output in DEBUG level

_No response_


Discussion / hints:

Fix patch:
diff --git a/docs/content/observability/tracing/overview.md b/docs/content/observability/tracing/overview.md
index fcea5c5480..b69aee46b8 100644
--- a/docs/content/observability/tracing/overview.md
+++ b/docs/content/observability/tracing/overview.md
@@ -170,7 +170,6 @@ Defines the list of query parameters to not redact.
 
 ```yaml tab="File (YAML)"
 tracing:
-  otlp:
     safeQueryParams:
       - bar
       - buz
@@ -178,10 +177,9 @@ tracing:
 
 ```toml tab="File (TOML)"
 [tracing]
-  [tracing.otlp]
     safeQueryParams = ["bar", "buz"]
 ```
 
 ```bash tab="CLI"
---tracing.otlp.safeQueryParams=bar,buz
+--tracing.safeQueryParams=bar,buz
 ```
diff --git a/pkg/config/static/static_config.go b/pkg/config/static/static_config.go
index 2dae73cfc2..1e0c5d61d4 100644
--- a/pkg/config/static/static_config.go
+++ b/pkg/config/static/static_config.go
@@ -212,6 +212,9 @@ type Tracing struct {
 func (t *Tracing) SetDefaults() {
 	t.ServiceName = "traefik"
 	t.SampleRate = 1.0
+
+	t.OTLP = &opentelemetry.Config{}
+	t.OTLP.SetDefaults()
 }
 
 // Providers contains providers configuration.


Test patch: