-
Notifications
You must be signed in to change notification settings - Fork 50
Migrate from OpenCensus library #1909
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
google-oss-prow
merged 14 commits into
GoogleContainerTools:main
from
tiffanny29631:oc-migration
Oct 27, 2025
Merged
Changes from all commits
Commits
Show all changes
14 commits
Select commit
Hold shift + click to select a range
6a6c999
Update OpenCensus to OpenTelemetry
tiffanny29631 0876108
cleanup
tiffanny29631 3f10a32
cleanup: restore record.go under kmetrics
tiffanny29631 8e1b5cd
cleanup: restore record.go under resourcegroup metrics
tiffanny29631 b3b700d
cleanup: refactor testexporter for readability
tiffanny29631 e4d1299
gemini comment: fail fast when record sees metric not initialized
tiffanny29631 f12fa11
gemini comment: use context with timeout for exporter graceful shutdown
tiffanny29631 49f9bcd
fix rebase conflict
tiffanny29631 f73c10a
cleanup
tiffanny29631 6a4f0c7
refactor: use lazy initialization for metrics
tiffanny29631 e26b25b
copilot: cleanup logs and comments
tiffanny29631 60572a8
refactor testexporter for readability and better error handling
tiffanny29631 a130ca8
revert to explicit metric initialization with error check
tiffanny29631 959aac1
cleanup
tiffanny29631 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
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
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
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
Oops, something went wrong.
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'd suggest refactoring this so that the main function calls out to a helper function that returns an int, e.g.
or alternatively for an error instead of int:
That can be done as a separate change but just making a note of it