code: func WithRequest(h http.Handler) http.Handler {
  	return http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) {
  		ctx := r.Context()
  
  		ctx = httpx.WithRequest(ctx, r)
  
  		// Add the request to the context.
  		reporter.AddRequest(ctx, r)
  
  		// Add the request id
  		reporter.AddContext(ctx, "request_id", httpx.RequestID(ctx))
  
  		h.ServeHTTP(w, r.WithContext(ctx))
  	})
  }
docs: // WithRequest adds information about the http.Request to reported errors.