forked from Ivasoft/traefik
Elastic APM tracer implementation
This commit is contained in:
committed by
Traefiker Bot
parent
c4a38de007
commit
fe8b090911
@@ -108,6 +108,14 @@ func setupTracing(conf *static.Tracing) *tracing.Tracing {
|
||||
}
|
||||
}
|
||||
|
||||
if conf.Elastic != nil {
|
||||
if backend != nil {
|
||||
log.WithoutContext().Error("Multiple tracing backend are not supported: cannot create Elastic backend.")
|
||||
} else {
|
||||
backend = conf.Elastic
|
||||
}
|
||||
}
|
||||
|
||||
if backend == nil {
|
||||
log.WithoutContext().Debug("Could not initialize tracing, using Jaeger by default")
|
||||
defaultBackend := &jaeger.Config{}
|
||||
|
||||
Reference in New Issue
Block a user