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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add SentryOkHttpInterceptor instrumentation #288

Merged
merged 8 commits into from Mar 10, 2022

Conversation

romtsn
Copy link
Member

@romtsn romtsn commented Mar 3, 2022

#skip-changelog

馃摐 Description

  • Automatically adds SentryOkHttpInterceptor to OkHttp requests. We instrument the okhttp library itself, therefore covering all okhttp clients within the app. We also check for the presence of SentryOkHttpInterceptor in the interceptor list, to make sure we do not instrument multiple times

image

image

馃挕 Motivation and Context

Closes #222 (apollo out of scope)

馃挌 How did you test it?

馃摑 Checklist

  • I reviewed the submitted code
  • I added tests to verify the changes
  • I updated the docs if needed
  • No breaking changes

馃敭 Next steps

Copy link
Contributor

@marandaneto marandaneto left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Base automatically changed from feat/add-dependencies to feat/auto-installation March 9, 2022 10:24
@romtsn romtsn force-pushed the feat/okhttp-instrumentation branch from 22cdb51 to f7fa89b Compare March 9, 2022 11:11
@romtsn romtsn merged commit 6353345 into feat/auto-installation Mar 10, 2022
@romtsn romtsn deleted the feat/okhttp-instrumentation branch March 10, 2022 20:15
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

Successfully merging this pull request may close these issues.

None yet

2 participants