-
Notifications
You must be signed in to change notification settings - Fork 245
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(telemetry): add dynamic "db.system" attribute to OTEL spans (#5019)
* feat(telemetry): add dynamic "db.system" attribute to OTEL spans * chore: clippy * chore(driver-adapters): add "db_system_name()" to "AdapterFlavour" * chore(driver-adapters): rename SYSTEM_NAME to DB_SYSTEM_NAME, and change member variable to constant * chore(driver-adapters): get rid of db_system_name(), adapt name() on Connector trait * chore(driver-adapters): fix typos * chore: clippy * chore: fix compilation on wasm32 * feat(tracing): add "otel.kind" = "client" on query spans * chore: fix Wasm compilation * feat(core): extract otel_kind from span attributes * chore(core): clippy * chore(core): remove percentage sigil for constant strings * chore(core): rename "system_name" to "db_system_name" * feat(core): add mongodb-specific "db.collection.name" and "db.operation.name" attributes in spans * chore(core): review comments * chore: Update query-engine/connectors/mongodb-query-connector/src/root_queries/mod.rs Co-authored-by: Alexey Orlenko <[email protected]> * chore: address review comments --------- Co-authored-by: Alexey Orlenko <[email protected]>
- Loading branch information
Showing
18 changed files
with
236 additions
and
115 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
Oops, something went wrong.