You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am writing zipkin client instrumentation for express-request-proxy . I need a way to intercept the request so I can record it before it is sent and then intercept the response (transformers will probably work for the response).
I am writing zipkin client instrumentation for
express-request-proxy
. I need a way to intercept the request so I can record it before it is sent and then intercept the response (transformers will probably work for the response).I've already instrumented plain old
request
(https://github.com/openzipkin/zipkin-js/tree/master/packages/zipkin-instrumentation-request) so if there was a way to pass in a modifiedrequest
toexpress-request-proxy
like:it would make my life a lot easier. This could also be used if others want to pass in a
request.defaults()
instance forexpress-request-proxy
to use.Another option would be to have
decorateRequest
likeexpress-http-proxy
has which I used here (https://github.com/openzipkin/zipkin-js/blob/master/packages/zipkin-instrumentation-express/src/wrapExpressHttpProxy.js) when instrumenting that client.The text was updated successfully, but these errors were encountered: