Rename db.client.connections.* metrics to db.client.connection.* and rename db.client.connection.usage to db.client.connection.count and adapting units#966
Merged
lmolkova merged 17 commits intoopen-telemetry:mainfrom May 2, 2024
Conversation
gregkalapos
commented
Apr 24, 2024
trask
reviewed
Apr 24, 2024
lmolkova
reviewed
Apr 24, 2024
Fix ids
gregkalapos
commented
Apr 25, 2024
db.client.connections.usage to db.client.connections.countdb.client.connections.* metrics to db.client.connection.* and rename db.client.connection.usage to db.client.connection.count
trask
reviewed
Apr 26, 2024
trask
reviewed
Apr 26, 2024
Member
trask
left a comment
There was a problem hiding this comment.
@gregkalapos sorry, I realized it would be good to add one more change to this PR: #381
bundling #381 here would have the advantage that we know the old name is always associated with milliseconds and the new name is always associated with seconds
(and it would affect the schema translation, where the metrics that changed from milliseconds to seconds would no longer be considered renames)
db.client.connections.* metrics to db.client.connection.* and rename db.client.connection.usage to db.client.connection.countdb.client.connections.* metrics to db.client.connection.* and rename db.client.connection.usage to db.client.connection.count and adapting units
trask
approved these changes
Apr 29, 2024
trisch-me
reviewed
Apr 29, 2024
lmolkova
approved these changes
Apr 30, 2024
trisch-me
reviewed
Apr 30, 2024
Member
Author
|
CI fails, Update: issue about this: #987 |
trask
reviewed
May 1, 2024
3 tasks
drewby
pushed a commit
to drewby/otel-semantic-conventions
that referenced
this pull request
May 23, 2024
…and rename `db.client.connection.usage` to `db.client.connection.count` and adapting units (open-telemetry#966) Co-authored-by: Liudmila Molkova <[email protected]>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fixes #967
Fixes #201
Fixes #381
Changes
As described in #201 and discussed in the DB Semconv Stability WG meeting:
db.client.connection.usage->db.client.connection.count. Also fixing #967 and renaming thedb.client.connections.*metrics namespace todb.client.connection.*.Since this PR already changes Db metrics, also adapting unit from
mstosas described in #381.Merge requirement checklist
[chore]