-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(spanner): add OpenTelemetry implementation (#9254)
* feat(spanner): add opentelemetry instrumentation * feat(spanner): add header * feat(spanner): go mod tidy * feat(spanner): code refactoring * feat(spanner): pass context * feat(spanner): fix vet * feat(spanner): code refactoring * feat(spanner): add lock when seeting ot config to avoid data race * feat(spanner): code refactoring * feat(spanner): add new package for testing open telemetery * feat(spanner): aadd header to new files * feat(spanner): testing * feat(spanner): mark go version as 1.19 * feat(spanner): update metrics test cases * feat(spanner): metrics code refactoring * feat(spanner): add OT traces * feat(spanner): comment OT metric sdk * feat(spanner): hardcode context * feat(spanner): odce refactoring * feat(spanner): add header * feat(spanner): code refactoring * feat(spanner): comment refactoring * feat(spanner): code refactoring * feat(spanner): remove disable from integration_test * feat(spanner): rename metrics with prefix 1 * feat(spanner): should revert: add benchmark code * feat(spanner): should revert: add benchmark code * feat(spanner): should revert: add benchmark code * feat(spanner): should revert: add benchmark code * feat(spanner): should revert: add benchmark code * feat(spanner): should revert: add benchmark code * feat(spanner): should revert: add benchmark code * feat(spanner): should revert: add benchmark code * feat(spanner): revert all benchmark codes * feat(spanner): upgrade metrics SDK to latest 1.22.0 that has fix for context done * feat(spanner): rename metrics back to original name * feat(spanner): remove debugging logs * feat(spanner): rename method * feat(spanner): pass context that is done, OT team has fixed this issue * feat(spanner): skip OT tests for go version 1.19 * feat(spanner): revert * feat(spanner): revert * feat(spanner): avoid skipping tests for Go1.19 * feat(spanner): add build constrints - compile OT test files only for Go1.20 and above * feat(spanner): add deprecation warning to OpenCensus code * feat(spanner): go mod tidy
- Loading branch information
1 parent
a8078f0
commit fc51cc2
Showing
17 changed files
with
1,355 additions
and
5 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -166,4 +166,5 @@ use ( | |
./websecurityscanner | ||
./workflows | ||
./workstations | ||
./spanner/test/opentelemetry/test | ||
) |
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.