Skip to content

RUM-1492 Improve Logs Fragment in sample App#1685

Merged
xgouchet merged 1 commit into
developfrom
xgouchet/RUM-1492/update_sample_app_for_E2E
Nov 3, 2023
Merged

RUM-1492 Improve Logs Fragment in sample App#1685
xgouchet merged 1 commit into
developfrom
xgouchet/RUM-1492/update_sample_app_for_E2E

Conversation

@xgouchet

@xgouchet xgouchet commented Nov 2, 2023

Copy link
Copy Markdown
Contributor

What does this PR do?

Adds a better way to send logs from the sample app

Motivation

Being able to have more control from the Synthetics Tests

Additional Notes

Anything else we should know when reviewing?

Review checklist (to be filled by reviewers)

  • Feature or bugfix MUST have appropriate tests (unit, integration, e2e)
  • Make sure you discussed the feature or bugfix with the maintaining team in an Issue
  • Make sure each commit and the PR mention the Issue number (cf the CONTRIBUTING doc)

@xgouchet
xgouchet marked this pull request as ready for review November 2, 2023 11:42
@xgouchet
xgouchet requested a review from a team as a code owner November 2, 2023 11:42
@codecov-commenter

codecov-commenter commented Nov 2, 2023

Copy link
Copy Markdown

Codecov Report

Merging #1685 (d6ca201) into develop (d8f8c22) will decrease coverage by 0.01%.
Report is 4 commits behind head on develop.
The diff coverage is n/a.

@@             Coverage Diff             @@
##           develop    #1685      +/-   ##
===========================================
- Coverage    83.73%   83.72%   -0.01%     
===========================================
  Files          462      462              
  Lines        15855    15855              
  Branches      2365     2365              
===========================================
- Hits         13275    13274       -1     
- Misses        1939     1947       +8     
+ Partials       641      634       -7     

see 19 files with indirect coverage changes

)
R.id.log_critical -> logger.wtf(
"User triggered a critical event",
UnsupportedOperationException("Oops")

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.

having exceptions sent was a nice scenario to test symbolication/error handling outside of crashes, should we maybe still send them?

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.

Good point, I'll add it back

@xgouchet
xgouchet force-pushed the xgouchet/RUM-1492/update_sample_app_for_E2E branch from 5868187 to d6ca201 Compare November 2, 2023 13:09
@xgouchet
xgouchet requested a review from 0xnm November 2, 2023 13:11
@xgouchet
xgouchet merged commit fd22c1f into develop Nov 3, 2023
@xgouchet
xgouchet deleted the xgouchet/RUM-1492/update_sample_app_for_E2E branch November 3, 2023 07:00
@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.

3 participants