-
Notifications
You must be signed in to change notification settings - Fork 16
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
Provide custom OkHttpClient for MetricsReporter #65
Conversation
5c44638
to
360ebf5
Compare
Test pipeline is failing Execution failed for task ':coverallsJacoco'. > COVERALLS_REPO_TOKEN not set |
Happy to approve. Could use a test proving that the passed client is used for posting. |
Thanks for contributing :) I will look into the token error |
@vitoksmile Please merge main back to this branch so you get the new workflow (that doesn't run the coveralls on external PRs) |
bcb6966
to
f2855ec
Compare
@andreas-unleash rebased into main |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM. Thanks!
The failure is only in your fork. Maybe you need the workflows there as well |
@andreas-unleash will you include this change into next release? |
Yes. Probably shortly |
About the changes
We have a way to set custom
OkHttpClient
forUnleashClient
, however we are missing it forHttpMetricsReporter
. CustomOkHttpClient
is usefull when we want to add our ownInterceptor
(e.g.HttpLoggingInterceptor
).