mirror of
https://github.com/foomo/keel.git
synced 2025-10-16 12:35:34 +00:00
wip: debug
This commit is contained in:
parent
fe85d0988d
commit
290ce5d7dc
@ -92,6 +92,15 @@ func TelemetryWithOptions(opts TelemetryOptions) middleware.Middleware {
|
|||||||
"TraceID": spanCtx.TraceID().String(),
|
"TraceID": spanCtx.TraceID().String(),
|
||||||
})
|
})
|
||||||
} else {
|
} else {
|
||||||
|
if !ok {
|
||||||
|
l.Info("=> not ok")
|
||||||
|
}
|
||||||
|
if !opts.Exemplars {
|
||||||
|
l.Info("=> no exemplars")
|
||||||
|
}
|
||||||
|
if !spanCtx.HasTraceID() {
|
||||||
|
l.Info("=> no trace id")
|
||||||
|
}
|
||||||
observer.Observe(duration.Seconds())
|
observer.Observe(duration.Seconds())
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user