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

Use new sdk time direcctly and indirectly for timetamps sent in SDK #9

Merged
merged 3 commits into from
Oct 25, 2023

Conversation

bidetofevil
Copy link
Collaborator

@bidetofevil bidetofevil commented Oct 17, 2023

Goal

Either use the SDK time directly when we control the source of the timestamp used for logging network requests, or use to calculate an offset to apply to the system time (used by OkHttp for instance) so that it lines up more or less with the time the SDK uses.

Testing

Added to the component tests for both network stacks to verify the time is as expected

Copy link
Collaborator Author

Current dependencies on/for this PR:

This comment was auto-generated by Graphite.

@codecov
Copy link

codecov bot commented Oct 25, 2023

Codecov Report

Merging #9 (9a99cd8) into hho/internal-interface (924a37b) will decrease coverage by 0.01%.
The diff coverage is 29.16%.

Additional details and impacted files

Impacted file tree graph

@@                    Coverage Diff                     @@
##           hho/internal-interface       #9      +/-   ##
==========================================================
- Coverage                   72.74%   72.73%   -0.01%     
==========================================================
  Files                         306      306              
  Lines                        9987     9988       +1     
  Branches                     1440     1440              
==========================================================
  Hits                         7265     7265              
- Misses                       2153     2154       +1     
  Partials                      569      569              
Files Coverage Δ
...io/embrace/android/embracesdk/clock/SystemClock.kt 100.00% <100.00%> (ø)
.../android/embracesdk/samples/EmbraceCrashSamples.kt 40.90% <0.00%> (-0.96%) ⬇️
...sdk/network/http/EmbraceUrlConnectionOverride.java 50.00% <30.00%> (ø)

... and 1 file with indirect coverage changes

@bidetofevil bidetofevil marked this pull request as ready for review October 25, 2023 16:56
Copy link
Contributor

@lucaslabari lucaslabari left a comment

Choose a reason for hiding this comment

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

LGTM

Copy link
Collaborator Author

bidetofevil commented Oct 25, 2023

Merge activity

Base automatically changed from hho/internal-interface to master October 25, 2023 22:59
@bidetofevil bidetofevil merged commit be5c65f into master Oct 25, 2023
2 of 3 checks passed
@bidetofevil bidetofevil deleted the hho/use-sdk-time branch October 25, 2023 22:59
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