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

Obfuscation of Path Parameters in APM #8245

Open
nestabentum opened this issue Jan 17, 2025 · 0 comments
Open

Obfuscation of Path Parameters in APM #8245

nestabentum opened this issue Jan 17, 2025 · 0 comments

Comments

@nestabentum
Copy link

Library Name

No response

Library Version(s)

No response

Describe the feature you'd like

I think it would be a great addition to add a configuration option to enable the obfuscation of path parameters.
While I found the possibility to obfuscate query params (DD_TRACE_OBFUSCATION_QUERY_STRING_REGEXP), I did not find the such a possibility for path parameters. It would be great to be able to specify a regex and a replacement text for a resource.

Is your feature request related to a problem?

Unfortunately, an API I depend on expects Personally identifiable information as a path parameter. Without the possibility to obfuscate the path parameter, I cannot benefit from the APM for this call because I would have to ignore it.

Describe alternatives you've considered

No response

Additional context

I have seen that DD_APM_OBFUSCATION_HTTP_REMOVE_PATHS_WITH_DIGITS exists. Unfortunately, this option is insufficient for my case, as the path parameter is alphanumeric and not just numeric.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant