-
Notifications
You must be signed in to change notification settings - Fork 889
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
added JSON RPC specific attributes #1643
added JSON RPC specific attributes #1643
Conversation
semantic_conventions/trace/rpc.yaml
Outdated
- id: id | ||
type: string | ||
brief: "`id` property of request. Since protocol allows id to be int, string, `null` or missing (for notifications), value is expected to be cast to string for simplicity. Omit if this is a notification." | ||
examples: ['10', 'request-7', ''] |
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.
I wonder if this would be generic enough to be added on the parent-level (e.g., as rpc.call_id
or rpc.request_id
) so we don't have overlaps/duplicates later if this is added for other protocols/frameworks as well. @open-telemetry/specs-approvers @open-telemetry/specs-trace-approvers any opinions?
Co-authored-by: Armin Ruech <armin.ruech@dynatrace.com>
Fixed and replied where i could |
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.
Thanks!
Please ignore the failing docfx check for now, it's just Chocolatey currently being down (https://status.chocolatey.org).
…elemetry-specification into jsonrpc-trace-conventions
Co-authored-by: Armin Ruech <armin.ruech@dynatrace.com>
This entry slipped into the wrong section. The PR was merged after 1.3.0 was released.
This entry slipped into the wrong section. The PR was merged after 1.3.0 was released.
This is second attempt: PR #1606 was automatically closed by bot.
Tracing attributes for JSON RPC protocol.
Changes
Added attributes:
Not sure if
null
values are OK for attributes, maybe need to changerpc.jsonrpc.id
a bit. Also not sure iferror_message
is OK because it is arbitrary (but short!) text, can impact cardinality.Related issue: #1601