(r *http.Request, tracer trace.Tracer)
| 117 | } |
| 118 | |
| 119 | func startSpan(r *http.Request, tracer trace.Tracer) (context.Context, trace.Span) { |
| 120 | return tracer.Start(r.Context(), "Passthrough", trace.WithAttributes( |
| 121 | attribute.String(tracing.PassthroughURL, r.URL.String()), |
| 122 | attribute.String(tracing.PassthroughMethod, r.Method), |
| 123 | )) |
| 124 | } |
no test coverage detected