-
Notifications
You must be signed in to change notification settings - Fork 179
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
Rename db.collection.name
to db.target.name
#1527
Conversation
Few comments here:
If you comment that if traces exists for other executions then the spans will be available, that is not the case in some systems, since the function/procedure are user-code and traces may be in a different system than the platform traces. |
The same can be said of My opinion is that deeper insights belong in more specific fields. If a database (engine/system) can or wants to indicate that the operation involves multiple tables, indices, tablets, pages, locks, what-have-you; then it can go in a tech-specific field. |
Co-authored-by: Trask Stalnaker <[email protected]>
Co-authored-by: Trask Stalnaker <[email protected]>
Array will be problematic on metrics and will be significantly harder to use for noSQL databases which primarily operate on one collection. It also has much higher cardinality. Having array of operations and array of collections will be even worse for usability. That's why we introduced INSERT INTO shipping_details
(order_id,
address)
SELECT order_id,
address
FROM orders
WHERE order_id = ? and will be a better representation of a query than arrays of operations and tables.
I'm not sure I understand what the difference between storage and execution is.
We're only defining client DB conventions now. |
Deeper insights are available on
Cross-DB queries in common case would have fully-qualified table names, i.e. multiple database names will be captured as a part of each target name and inside |
f4e4c06
to
b23a85c
Compare
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.
putting a temporary block, as @lmolkova and I are reconsidering this PR
This PR was marked stale due to lack of activity. It will be closed in 7 days. |
Closing this since we're pursuing a different option to represent stored procedures/other db object name. |
Fixes #1491, #521
Changes
db.collection.name
does not work well for all possible database objects such as stored procedures, user defined functions, triggers, users (e.g. when performingGRANT
queries).This PR renames it to
db.target.name
to cover all these casesMerge requirement checklist
[chore]