(Discussion moved from census-instrumentation/opencensus-python#725)
At the moment, http.url attribute of an HTTP request span contains full URL with query parameters (https://github.com/census-instrumentation/opencensus-specs/blob/master/trace/HTTP.md#attributes).
This is not ideal, because in a lot of scenarios, query parameters can contain sensitive data.
Things such as API keys, tokens, secrets, etc. That's a fairly common patterns when integrating with various webhook-like services which don't allow information such as secrets / tokens to be sent via HTTP headers so they are sent using query parameters.
It's also a fairly common pattern (for better or worse) when authenticating with various APIs.
Because of that, I propose removing query parameters part from the http.url span attribute.
To solve for a scenario where query parameters don't contain sensitive data (aka explicit opt-in or similar by a developer on the library level), we would add new http.query_params or similar attribute which is optional.