Filter OpenTelemetry query parameters span attributes
Added
-
Filter query parameters in the
url.queryspan attribute. When anurl.queryattribute contains an URL encoded query parameter we will filter out the keys configured in theappsignal.config.filter_request_query_parametersresource attribute.In the situation that a
url.queryspan attribute has the valuepassword=secret&some_param=some_value, and theappsignal.config.filter_request_query_parametersresource attribute is configured with["password"], theurl.queryspan attribute will be stored aspassword=[FILTERED]&some_param=some_value.If no
appsignal.request.query_parametersspan attribute is set, we will store the query parameters as a JSON map on this attribute. For example:JSON{ "password": "[FILTERED]", "some_param": "some_value" }
Changed
-
Rename the
working_dir_pathconfig option toworking_directory_path. This names matches with the naming in our other tools and integrations.This is a breaking change: With this change the
working_dir_pathconfig option will no longer work. -
When the
appsignal.config.send_request_query_parametersresource attribute config option value is set tofalse, we will remove theurl.queryspan attribute from spans.
This release can be installed through our collector packages and Docker image.