fix: otlp doc + potential panic
This commit is contained in:
parent
6b1a584c2b
commit
2714831a4e
2 changed files with 4 additions and 3 deletions
|
@ -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.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue