We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 83ddd2b commit 861843fCopy full SHA for 861843f
pkg/middleware/request_tracing.go
@@ -29,5 +29,8 @@ func RequestTracing(handler string) macaron.Handler {
29
ext.HTTPStatusCode.Set(span, uint16(status))
30
ext.HTTPUrl.Set(span, req.RequestURI)
31
ext.HTTPMethod.Set(span, req.Method)
32
+ if status >= 400 {
33
+ ext.Error.Set(span, true)
34
+ }
35
}
36
0 commit comments