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
Is your feature request related to a problem? Please describe.
@opentelemetry/instrumentation-xml-http-request adds a number of span events for each HTTP request used to profile different stages of the request. It would be handy to turn this off, as it is not useful for our use case and consumes unwanted resources.
The @opentelemetry/instrumentation-fetch implementation has a similar feature with the ignoreNetworkEvents flag.
Describe the solution you'd like
A new configuration option ignoreNetworkEvents that suppresses the generation of span events related to the network timing e.g.
new XMLHttpRequestInstrumentation({
enabled: true,
ignoreNetworkEvents: true,
});
Describe alternatives you've considered
A customisation hook for the network events may be another option, but I don't know any use cases for that.
Additional context
N/A
The text was updated successfully, but these errors were encountered:
Is your feature request related to a problem? Please describe.
@opentelemetry/instrumentation-xml-http-request
adds a number of span events for each HTTP request used to profile different stages of the request. It would be handy to turn this off, as it is not useful for our use case and consumes unwanted resources.The
@opentelemetry/instrumentation-fetch
implementation has a similar feature with theignoreNetworkEvents
flag.Describe the solution you'd like
A new configuration option
ignoreNetworkEvents
that suppresses the generation of span events related to the network timing e.g.Describe alternatives you've considered
A customisation hook for the network events may be another option, but I don't know any use cases for that.
Additional context
N/A
The text was updated successfully, but these errors were encountered: