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

(4/9) RUM-2127 Add synthetics info to RUM Views #1717

Merged
merged 1 commit into from Nov 16, 2023

Conversation

xgouchet
Copy link
Collaborator

@xgouchet xgouchet commented Nov 15, 2023

This PR has been created automatically by the CI

Add synthetics info to RUM Views.
The info is read from the RUM context and converted into the relevant attributes at write time.

@xgouchet xgouchet requested review from a team as code owners November 15, 2023 09:41
@codecov-commenter
Copy link

codecov-commenter commented Nov 15, 2023

Codecov Report

Merging #1717 (33ebc18) into develop (50e6072) will decrease coverage by 0.11%.
The diff coverage is 83.33%.

Additional details and impacted files
@@             Coverage Diff             @@
##           develop    #1717      +/-   ##
===========================================
- Coverage    83.41%   83.30%   -0.11%     
===========================================
  Files          465      465              
  Lines        16092    16103      +11     
  Branches      2386     2389       +3     
===========================================
- Hits         13422    13413       -9     
- Misses        2025     2038      +13     
- Partials       645      652       +7     
Files Coverage Δ
.../android/rum/internal/domain/scope/RumViewScope.kt 94.82% <83.33%> (-0.58%) ⬇️

... and 18 files with indirect coverage changes

@@ -903,77 +907,6 @@ internal class RumViewScopeTest {
assertThat(result2).isNull()
}

@Test
fun `𝕄 send event 𝕎 handleEvent(StopView) on active view`(
Copy link
Contributor

Choose a reason for hiding this comment

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

why do we remove this test? I can see similar test is added with synthetics session, but then shouldn't this test assert user session type then instead of removing it?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

That must have been a cut-paste instead of a copy paste, fixed

@@ -697,6 +697,23 @@ internal open class RumViewScope(
currentViewId
)
val replayStats = ViewEvent.ReplayStats(recordsCount = sessionReplayRecordsCount)
val syntheticsAttribute = if (
Copy link
Collaborator

Choose a reason for hiding this comment

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

maybe we should extract these methods ?

@xgouchet xgouchet force-pushed the xgouchet/RUM-2127/4_read_synthetics_info branch from b94fd27 to e553692 Compare November 16, 2023 09:00
@xgouchet xgouchet requested a review from 0xnm November 16, 2023 09:02
Base automatically changed from xgouchet/RUM-2127/3_read_synthetics_info to develop November 16, 2023 09:06
@xgouchet xgouchet force-pushed the xgouchet/RUM-2127/4_read_synthetics_info branch from e553692 to 33ebc18 Compare November 16, 2023 09:30
@xgouchet xgouchet merged commit 4a9ae58 into develop Nov 16, 2023
23 checks passed
@xgouchet xgouchet deleted the xgouchet/RUM-2127/4_read_synthetics_info branch November 16, 2023 09:59
@xgouchet xgouchet added this to the 2.3.0 milestone Dec 13, 2023
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

4 participants