Commit e926e51c authored by Alessio Caiazza's avatar Alessio Caiazza

Merge branch 'jaeger-operation-cardinality' into 'master'

jaeger: limit operation cardinality by using route regex

See merge request gitlab-org/gitlab-workhorse!648
parents 69744948 ccae1e3a
---
title: 'jaeger: limit operation cardinality by using route regex'
merge_request: 648
author:
type: other
......@@ -111,7 +111,7 @@ func (u *upstream) route(method, regexpStr string, handler http.Handler, opts ..
handler = denyWebsocket(handler) // Disallow websockets
if options.tracing {
// Add distributed tracing
handler = tracing.Handler(handler)
handler = tracing.Handler(handler, tracing.WithRouteIdentifier(regexpStr))
}
return routeEntry{
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment