Filter OpenTelemetry query parameters span attributes
Added
-
Filter query parameters in the
url.query
span attribute. When anurl.query
attribute contains an URL encoded query parameter we will filter out the keys configured in theappsignal.config.filter_request_query_parameters
resource attribute.In the situation that a
url.query
span attribute has the valuepassword=secret&some_param=some_value
, and theappsignal.config.filter_request_query_parameters
resource attribute is configured with["password"]
, theurl.query
span attribute will be stored aspassword=[FILTERED]&some_param=some_value
.If no
appsignal.request.query_parameters
span 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_path
config 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_path
config option will no longer work. -
When the
appsignal.config.send_request_query_parameters
resource attribute config option value is set tofalse
, we will remove theurl.query
span attribute from spans.
This release can be installed through our collector packages and Docker image.