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

Remove memory warnings collection in the Session #732

Merged
merged 10 commits into from
Apr 17, 2024

Conversation

leandro-godon
Copy link
Contributor

Goal

Remove the collection of Low Memory Warnings in the session, leaving them as Span events.

Testing

Tested against the production dashboard, verified that the events were visible.

# Conflicts:
#	embrace-android-sdk/src/main/java/io/embrace/android/embracesdk/injection/DataSourceModule.kt
#	embrace-android-sdk/src/test/java/io/embrace/android/embracesdk/injection/DataSourceModuleImplTest.kt
@leandro-godon leandro-godon requested a review from a team as a code owner April 15, 2024 23:12
Copy link
Contributor

@fractalwrench fractalwrench 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 leandro/memory_warning_datatsource to master April 16, 2024 22:00
# Conflicts:
#	embrace-android-sdk/src/main/java/io/embrace/android/embracesdk/capture/EmbracePerformanceInfoService.kt
#	embrace-android-sdk/src/main/java/io/embrace/android/embracesdk/capture/memory/EmbraceMemoryService.kt
#	embrace-android-sdk/src/main/java/io/embrace/android/embracesdk/injection/DataContainerModule.kt
#	embrace-android-sdk/src/main/java/io/embrace/android/embracesdk/injection/DataSourceModule.kt
#	embrace-android-sdk/src/test/java/io/embrace/android/embracesdk/EmbraceGatingServiceV1PayloadTest.kt
#	embrace-android-sdk/src/test/java/io/embrace/android/embracesdk/EmbraceMemoryServiceTest.kt
#	embrace-android-sdk/src/test/java/io/embrace/android/embracesdk/EmbracePerformanceInfoServiceTest.kt
#	embrace-android-sdk/src/test/java/io/embrace/android/embracesdk/injection/DataSourceModuleImplTest.kt
Copy link

codecov bot commented Apr 16, 2024

Codecov Report

Attention: Patch coverage is 0% with 1 lines in your changes are missing coverage. Please review.

Project coverage is 80.66%. Comparing base (e9fc580) to head (8b68447).

Additional details and impacted files

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #732      +/-   ##
==========================================
- Coverage   80.69%   80.66%   -0.04%     
==========================================
  Files         424      424              
  Lines       11173    11154      -19     
  Branches     1672     1668       -4     
==========================================
- Hits         9016     8997      -19     
- Misses       1451     1455       +4     
+ Partials      706      702       -4     
Files Coverage Δ
...mbracesdk/capture/EmbracePerformanceInfoService.kt 88.23% <ø> (+4.90%) ⬆️
...oid/embracesdk/capture/memory/NoOpMemoryService.kt 100.00% <ø> (+50.00%) ⬆️
...roid/embracesdk/gating/PerformanceInfoSanitizer.kt 100.00% <ø> (ø)
...ace/android/embracesdk/gating/SessionGatingKeys.kt 0.00% <ø> (ø)
...ndroid/embracesdk/injection/DataContainerModule.kt 100.00% <ø> (ø)
...race/android/embracesdk/payload/PerformanceInfo.kt 100.00% <ø> (ø)
.../embracesdk/capture/memory/EmbraceMemoryService.kt 66.66% <0.00%> (-25.65%) ⬇️

... and 6 files with indirect coverage changes

@leandro-godon leandro-godon merged commit aeefbb8 into master Apr 17, 2024
3 of 4 checks passed
@leandro-godon leandro-godon deleted the leandro/memory_warning_remove_original branch April 17, 2024 07:30
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