We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 868cd96 commit 44080aaCopy full SHA for 44080aa
codebase/app/rest_server/middleware.go
@@ -216,6 +216,9 @@ func HTTPMiddlewareTracer() func(http.Handler) http.Handler {
216
logBuff.WriteString(`,"latency":"`)
217
logBuff.WriteString(stop.Sub(start).String())
218
219
+ logBuff.WriteString(`","trace_id":"`)
220
+ logBuff.WriteString(tracer.GetTraceID(ctx))
221
+
222
logBuff.WriteString(`","bytes_in":`)
223
cl := req.Header.Get("Content-Length")
224
if cl == "" {
0 commit comments