Skip to content

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

Merged
xgouchet merged 1 commit into
developfrom
xgouchet/RUM-2127/4_read_synthetics_info
Nov 16, 2023
Merged

(4/9) RUM-2127 Add synthetics info to RUM Views#1717
xgouchet merged 1 commit into
developfrom
xgouchet/RUM-2127/4_read_synthetics_info

Conversation

@xgouchet

@xgouchet xgouchet commented Nov 15, 2023

Copy link
Copy Markdown
Contributor

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

codecov-commenter commented Nov 15, 2023

Copy link
Copy Markdown

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

}

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

Copy link
Copy Markdown
Member

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
Copy Markdown
Contributor 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

currentViewId
)
val replayStats = ViewEvent.ReplayStats(recordsCount = sessionReplayRecordsCount)
val syntheticsAttribute = if (

Copy link
Copy Markdown
Member

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
@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.

4 participants