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
Please add a new option to RoundTripper in contrib/net/http to determine if an outgoing request tracing should be skipped.
This option should work like the following:
I run a frontend server and a backend service. Both of them have endpoints for healthcheck to manage their container liveness. The frontend's one replies the response from the backend's one as is.
These endpoints are called very frequently. So I want to disable tracing on them so as not to fill up the tracing log screen.
I can disable incoming tracing with WithIgnoreRequest, but can't outgoing tracing now.
The text was updated successfully, but these errors were encountered:
a2ikm
changed the title
contrib/net/http: Add new option to RoundTripper to ignore request
contrib/net/http: Add new option to RoundTripper to ignore outgoing request
Jul 27, 2022
Overview
Please add a new option to RoundTripper in contrib/net/http to determine if an outgoing request tracing should be skipped.
This option should work like the following:
It is like
WithIgnoreRequest
forServeMux
.Background
I run a frontend server and a backend service. Both of them have endpoints for healthcheck to manage their container liveness. The frontend's one replies the response from the backend's one as is.
These endpoints are called very frequently. So I want to disable tracing on them so as not to fill up the tracing log screen.
I can disable incoming tracing with
WithIgnoreRequest
, but can't outgoing tracing now.The text was updated successfully, but these errors were encountered: