Elastic APM tracer implementation
This commit is contained in:
parent
c4a38de007
commit
fe8b090911
11 changed files with 223 additions and 0 deletions
|
@ -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{}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue