Skip to content

RUM-16276: Cache site and batch sendCrash writes in RumAgent#150

Merged
kikoveiga merged 1 commit into
developfrom
kikoveiga/RUM-16276/cache-site-and-batch-send-crash
May 15, 2026
Merged

RUM-16276: Cache site and batch sendCrash writes in RumAgent#150
kikoveiga merged 1 commit into
developfrom
kikoveiga/RUM-16276/cache-site-and-batch-send-crash

Conversation

@kikoveiga

@kikoveiga kikoveiga commented May 13, 2026

Copy link
Copy Markdown
Contributor

What does this PR do?

  • Reuse cached m.site in RumAgent.
  • Bundle sendCrash into a single setFields call in RumAgent.

Motivation

Reduce rendezvous occurrences everytime an event is sent.

Additional Notes

When clicking on "Add custom action" in the sample app, we can see that:

Before: 19 rendezvous
image

After: 15 rendezvous
image

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)

@kikoveiga kikoveiga self-assigned this May 13, 2026
@kikoveiga kikoveiga changed the title RUM-16276: Cache site and batch sendCrash writes in RumAgent RUM-16276: Cache site and batch sendCrash writes in RumAgent May 13, 2026
@kikoveiga
kikoveiga force-pushed the kikoveiga/RUM-16276/cache-site-and-batch-send-crash branch from 485d885 to 90f1a43 Compare May 13, 2026 17:04
@kikoveiga
kikoveiga marked this pull request as ready for review May 13, 2026 17:07
@kikoveiga
kikoveiga requested a review from a team as a code owner May 13, 2026 17:07
@kikoveiga kikoveiga changed the title RUM-16276: Cache site and batch sendCrash writes in RumAgent RUM-16276: Cache site and batch sendCrash writes in RumAgent May 13, 2026

@ambushwork ambushwork left a comment

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.

LGTM

@kikoveiga
kikoveiga merged commit 97d2bff into develop May 15, 2026
8 checks passed
@kikoveiga
kikoveiga deleted the kikoveiga/RUM-16276/cache-site-and-batch-send-crash branch May 15, 2026 16:03
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.

2 participants