Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature: ignore some errors generated from http interceptors #175

Open
GerardPaligot opened this issue Dec 7, 2023 · 1 comment
Open

Comments

@GerardPaligot
Copy link

For now, TracingInterceptor record all errors generated by http request executed in the Android application. But it could be interesting to add a way to ignore some errors like java.io.InterruptedIOException, okhttp3.internal.http2.StreamResetException (stream was reset: CANCEL) or  java.io.IOException (Canceled).

All these errors are generated when a Kotlin coroutine scope is cancelled and where we are no more interested about the http response. It sounds legit to ignore the instrumentation of this kind of error.

@trask
Copy link
Member

trask commented Dec 8, 2023

Related open-telemetry/semantic-conventions#560

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants