-
Notifications
You must be signed in to change notification settings - Fork 72
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
frontend: add more attributes to the spans
This change modifies the existing middlewares to add new span attributes and be consistent with logging. In practice, the following attributes are added: * `cloud.provider` (always `Azure`) [1] * `cloud.resource_id` [1] * `aro.subscription_id` * `aro.resource_group` * `aro.resource_name` * `aro.api_version` [1] https://pkg.go.dev/go.opentelemetry.io/otel@v1.34.0/semconv/v1.27.0 Signed-off-by: Simon Pasquier <spasquie@redhat.com>
- Loading branch information
1 parent
76d698e
commit 58e632f
Showing
9 changed files
with
219 additions
and
83 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.