Skip to content

ELE-4208 Hook up instana to error logging #16

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

Merged
merged 2 commits into from
Feb 26, 2021

Conversation

maddocash
Copy link
Contributor

@maddocash maddocash commented Feb 25, 2021

@maddocash maddocash self-assigned this Feb 25, 2021
@maddocash maddocash force-pushed the ELE-4208-forwardErrorsToInstana branch from 2411e6d to f1e12ce Compare February 25, 2021 15:21
if (LOGGING_CONFIG.FORWARD_TO_NEWRELIC && $window.NREUM && $window.NREUM.noticeError) {
$window.NREUM.noticeError(exception, { url: $window.location.href });
if (LOGGING_CONFIG.FORWARD_TO_INSTANA && typeof ineum !== undefined && ineum) {
ineum('reportError', exception);
}
Copy link
Contributor

Choose a reason for hiding this comment

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

It's all a bit academic as we're the only ones who use this library, but I still wonder if these changes should be in addition to NewRelic support instead of as a replacement

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 think as it's just us and we hopefully wont be using it be the end of the year, I'm going to leave it as is :)

Copy link
Contributor

@pogotc pogotc left a comment

Choose a reason for hiding this comment

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

Looks good to me, I do wonder if this should be adding support for Instana rather than replacing NewRelic with it, but I don't feel strongly enough about it to not approve the changes.

Only other thing to remember before merging is to bump the version number.

@maddocash maddocash merged commit 415bf8c into master Feb 26, 2021
@maddocash maddocash deleted the ELE-4208-forwardErrorsToInstana branch February 26, 2021 07:55
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