-
-
Notifications
You must be signed in to change notification settings - Fork 5
feat(attributes): Deprecate http.query and http.fragment in favour of url.query and url.fragment
#539
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
base: main
Are you sure you want to change the base?
feat(attributes): Deprecate http.query and http.fragment in favour of url.query and url.fragment
#539
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -6,6 +6,12 @@ | |
| "key": "auto", | ||
| "reason": "Query string values can contain sensitive information. Clients should attempt to scrub parameters that might contain sensitive information." | ||
| }, | ||
| "deprecation": { | ||
| "_status": "backfill", | ||
| "replacement": "url.query", | ||
| "reason": "`url.query` is supported by OTel and conceptually more fitting." | ||
| }, | ||
|
Comment on lines
+9
to
+13
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Bug: The deprecation status for Suggested FixChange the Prompt for AI AgentAlso affects:
Did we get this right? 👍 / 👎 to inform future reviews.
Member
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. |
||
| "alias": ["url.query"], | ||
| "is_in_otel": false, | ||
| "example": "?foo=bar&bar=baz", | ||
| "visibility": "public", | ||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Backfill ignores value format mismatch
High Severity
deprecation._statusis set tobackfillforhttp.queryandhttp.fragment, but those values include a leading?/#whileurl.queryandurl.fragmentmust not. Backfill copies values as-is, so ingest would write OTel-invalid replacements. Per CONTRIBUTING, incompatible values needtransformor_status: null.Additional Locations (1)
model/attributes/http/http__fragment.json#L7-L12Reviewed by Cursor Bugbot for commit b25bbcc. Configure here.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
#539 (comment)