fix: default tracing backend.
This commit is contained in:
parent
4990f6c22d
commit
8f000423ed
1 changed files with 3 additions and 2 deletions
|
@ -94,8 +94,9 @@ func setupTracing(conf *static.Tracing) tracing.Backend {
|
||||||
|
|
||||||
if backend == nil {
|
if backend == nil {
|
||||||
log.WithoutContext().Debug("Could not initialize tracing, use Jaeger by default")
|
log.WithoutContext().Debug("Could not initialize tracing, use Jaeger by default")
|
||||||
backend := &jaeger.Config{}
|
bcd := &jaeger.Config{}
|
||||||
backend.SetDefaults()
|
bcd.SetDefaults()
|
||||||
|
backend = bcd
|
||||||
}
|
}
|
||||||
|
|
||||||
return backend
|
return backend
|
||||||
|
|
Loading…
Add table
Reference in a new issue