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

Add option to redact args in stacktraces #416

Merged
merged 3 commits into from
Dec 1, 2023

Conversation

mattbaker
Copy link
Contributor

@mattbaker mattbaker commented Nov 22, 2023

We'd like an option to redact arguments in stacktraces before the stacktraces are sent to New Relic.

This draft currently adds a configuration value that will replace arguments in a stacktrace with the string "DISABLED arity: ($X")

It's a work in progress.

TODO:

  • Tests to verify args are redacted in all the ways stacktraces can leave the agent for New Relic

@mattbaker mattbaker merged commit a1c7d9a into master Dec 1, 2023
@mattbaker mattbaker deleted the optionally-disable-stacktrace-args branch December 1, 2023 19:25
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