We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ac63bfb commit 2a0a7b4Copy full SHA for 2a0a7b4
lura/proxy.go
@@ -36,8 +36,8 @@ var (
36
// Middleware creates a proxy that instruments the proxy it wraps by creating an span if enabled,
37
// and report the duration of this stage in metrics if enabled.
38
func Middleware(gsf state.GetterFn, metricsEnabled bool, tracesEnabled bool,
39
- stageName string, urlPattern string, staticAttrs []attribute.KeyValue) proxy.Middleware {
40
-
+ stageName string, urlPattern string, staticAttrs []attribute.KeyValue,
+) proxy.Middleware {
41
if gsf == nil {
42
gsf = state.GlobalState
43
}
0 commit comments