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

Error Group Callback and User Tracking #647

Merged

Conversation

iamemilio
Copy link
Contributor

@iamemilio iamemilio commented Mar 1, 2023

This adds functionality to the agent that enables users to define a custom callback function that will be applied to all noticed errors in the agent. It must return a string value which will be used to categorize this error into an error group in New Relic One.

Links

Details

@iamemilio iamemilio force-pushed the error-fingerprinting-and-tracking branch 2 times, most recently from 1d06376 to 0d6238a Compare March 7, 2023 17:49
This adds functionality to the agent that enables users to define a
custom callback function that will be applied to all noticed errors in
the agent. It must return a string value which will be used to
categorize this error into an error group in New Relic One.`
When the agent is configured to protect user data from being ingested by
New Relic, the callback function should still have access to data that
would otherwise be scrubbed. The callback function is written by the
customer, and is authorized to handle sensitive data. This will not
change how sensitive data is sent to New Relic from the agent in any
way. Users are strongly advised not to include sensitive data in their
Error Group callback function.
A new transaction method, SetUserID() allows you to track which users
are impacted by the events that occur during a transaction. This will
add an agent attribute to all child events of a transacaction that will
allow users to link those events back to a specific user.
@iamemilio iamemilio force-pushed the error-fingerprinting-and-tracking branch 2 times, most recently from edca1d8 to 2c5686f Compare March 14, 2023 18:43
@iamemilio iamemilio force-pushed the error-fingerprinting-and-tracking branch from 2c5686f to 0b0b9bb Compare March 14, 2023 18:47
@iamemilio iamemilio marked this pull request as ready for review March 14, 2023 18:47
@iamemilio iamemilio changed the title Error Group Callback Error Group Callback and User Tracking Mar 14, 2023
@iamemilio iamemilio merged commit c7c938b into newrelic:develop Mar 30, 2023
@iamemilio iamemilio deleted the error-fingerprinting-and-tracking branch March 30, 2023 17:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants