diff --git a/pkg/trace/api/api.go b/pkg/trace/api/api.go index 250bee9d12c53..c8ef8c1096b13 100644 --- a/pkg/trace/api/api.go +++ b/pkg/trace/api/api.go @@ -210,7 +210,7 @@ func (r *HTTPReceiver) replyTraces(v Version, w http.ResponseWriter) { func (r *HTTPReceiver) handleTraces(v Version, w http.ResponseWriter, req *http.Request) { if !r.PreSampler.Sample(req) { io.Copy(ioutil.Discard, req.Body) - HTTPOK(w) + r.replyTraces(v, w) return }