// WithTracing adds tracing to requests if the incoming request is sampled func WithTracing(handler http.Handler, tp trace.TracerProvider) http.Handler { … } func getSpanNameFromRequestInfo(info *request.RequestInfo, r *http.Request) string { … }
// WithTracing adds tracing to requests if the incoming request is sampled func WithTracing(handler http.Handler, tp trace.TracerProvider) http.Handler { … } func getSpanNameFromRequestInfo(info *request.RequestInfo, r *http.Request) string { … }