-
Notifications
You must be signed in to change notification settings - Fork 494
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Open Telemetry: Fixes attribute name following otel convention (#4765)
## Description ### What is the change? `db.cosmosdb.operation_type `--> removed (moved to classic sdk support) `db.cosmosdb.machine_id` --> removed (moved to classic sdk support) `db.cosmosdb.client_id` --> ~~`db.cosmosdb.client.id`~~ it will remain same ~~(aligns with OTel messaging conventions)~~ `db.cosmosdb.request_content_length` --> ~~`db.cosmosdb.request.content_length`~~ it will remain same ~~(aligns with OTel HTTP conventions)~~ `db.cosmosdb.response_content_length` --> ~~`db.cosmosdb.request.content_length`~~ it will remain same ~~(aligns with OTel HTTP conventions)~~ `db.cosmosdb.status_code` --> `db.response.status_code` (moved `db.cosmosdb.status_code` to classic sdk support) `db.cosmosdb.consistency_level` -> added `db.cosmosdb.request_content_length_bytes` -> added for classic sdk support ### Why? Lot of discussions are going on with Azure Core and Open Telemetry Community teams. As part of that discussion, we are making these changes as our goal is to be Open Telemetry and Azure compliant, ## Type of change Please delete options that are not relevant. - [] Bug fix (non-breaking change which fixes an issue) ## Closing issues To automatically close an issue: closes #4553 --------- Co-authored-by: Kiran Kumar Kolli <kirankk@microsoft.com>
- Loading branch information
1 parent
138601f
commit 72eed8a
Showing
17 changed files
with
1,197 additions
and
1,167 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
Oops, something went wrong.