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

Addclient info to rum payload #504

Merged
merged 15 commits into from
Sep 20, 2023
Merged

Addclient info to rum payload #504

merged 15 commits into from
Sep 20, 2023

Conversation

Hamish-taylor
Copy link
Contributor

@Hamish-taylor Hamish-taylor commented Sep 3, 2023

This PR is being developed in conjunction with updates to the RUM worker that allows for client information to be sent, This includes the name and version of the library.

This PR also patches a number of situations that could result in NaN values being sent to Raygun. The main areas changed are:

  • Custom Timings and AddMissingWRT were accessing offset which is not always set. This now falls back to zero if no value exists
  • Virtual Page Timings were accessing a browser API that is deprecated in some new browser updates, this now falls back to the new API

src/raygun.rum/index.js Outdated Show resolved Hide resolved
src/raygun.js Outdated Show resolved Hide resolved
darcythomas
darcythomas previously approved these changes Sep 4, 2023
Copy link
Contributor

@darcythomas darcythomas left a comment

Choose a reason for hiding this comment

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

LGTM

darcythomas
darcythomas previously approved these changes Sep 5, 2023
Copy link
Contributor

@darcythomas darcythomas left a comment

Choose a reason for hiding this comment

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

LGTM

darcythomas
darcythomas previously approved these changes Sep 6, 2023
Copy link
Contributor

@darcythomas darcythomas left a comment

Choose a reason for hiding this comment

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

LGTM

darcythomas
darcythomas previously approved these changes Sep 7, 2023
Copy link
Contributor

@darcythomas darcythomas left a comment

Choose a reason for hiding this comment

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

LGTM
Please get a second

Hamish-taylor and others added 2 commits September 18, 2023 15:27
Co-authored-by: Sean Chapman <sean.b.chapman@gmail.com>
Copy link
Contributor

@xenolightning xenolightning left a comment

Choose a reason for hiding this comment

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

:shipit:

@PanosNB PanosNB self-requested a review September 19, 2023 23:47
Copy link

@PanosNB PanosNB left a comment

Choose a reason for hiding this comment

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

All looks good, also two people (Sean and Darcy) have already reviewed and approved. So go!

@Hamish-taylor Hamish-taylor merged commit fe73f53 into master Sep 20, 2023
1 check passed
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