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

Report total download size to newrelic #23877

Merged
merged 2 commits into from Jul 24, 2018
Merged

Report total download size to newrelic #23877

merged 2 commits into from Jul 24, 2018

Conversation

balderdash
Copy link
Contributor

No description provided.

Copy link
Contributor

@joshlory joshlory left a comment

Choose a reason for hiding this comment

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

Nice! Looks like performance.getEntriesByType() is expected to work in Chrome, Firefox, Edge & IE — that's more browsers than I was expecting 👍.

@@ -125,6 +125,7 @@ export default function (app, levels, options) {
next();
}
}
logToCloud.reportPageSize();
Copy link
Contributor

Choose a reason for hiding this comment

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

Out of curiosity, what types of things do we log to New Relic vs. AWS Firehose?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I don't know if we have a general rule. In this case, the rest of the performance data I'm using is already in NewRelic, so I decided to log page sizes there as well.

@balderdash balderdash merged commit 4955df6 into staging Jul 24, 2018
@balderdash balderdash deleted the page-size branch July 24, 2018 23:45
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

2 participants