-
Notifications
You must be signed in to change notification settings - Fork 1.1k
feat(Datastore): Introduce Client Side Metrics #12718
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
Merged
Changes from all commits
Commits
Show all changes
72 commits
Select commit
Hold shift + click to select a range
03aabb2
chore(datastore): Update generated stubs and native image config
lqiu96 25af60d
chore(datastore): Rename internal metrics recorder hierarchy and fix …
lqiu96 2093485
Merge branch 'main' of github.com:googleapis/google-cloud-java into d…
lqiu96 f2f1e9b
chore: Fix variable names
lqiu96 ae438e8
chore: Fix variable names
lqiu96 6c8def8
chore: Resolve merge conflicts
lqiu96 29f7ce1
chore: Remove metrics sample
lqiu96 0bf197b
chore: Update to remove the extra attributes
lqiu96 842d262
feat(datastore): Add built-in Cloud Monitoring metrics export
lqiu96 20be0a9
chore(datastore): Restore constants needed by built-in metrics pipeli…
lqiu96 eeb3653
samples(datastore): Add client-side metrics sample
lqiu96 5dc702f
chore: Remove duplicate declaration of attempt and operation metrics
lqiu96 c82e1d8
test: update DatastoreImplMetricsTest to expect singular GAX metric n…
lqiu96 b36e61c
chore: Remove unnecessary transaction null check
lqiu96 c47a6eb
chore: Resolve merge conflicts
lqiu96 2acc3a3
chore: Ensure that view properally remaps singular to plural metrics
lqiu96 5f41919
chore: Update logic to determine the PID
lqiu96 a7ae636
chore: Remove the unncessary filtering logic for the private Otel ins…
lqiu96 ddd06f8
chore: Remove the unused clientName attribute
lqiu96 abd527e
samples(datastore): Add client-side metrics sample
lqiu96 ad5efe0
chore: Resolve merge conflicts
lqiu96 0707021
merge main into datastore-csm-impl-2
lqiu96 02ddff0
chore(datastore): Address PR feedback on OTel metrics
lqiu96 972e48c
chore: Update the google-cloud-monitoring version
lqiu96 31451ce
Merge branch 'main' of github.com:googleapis/google-cloud-java into d…
lqiu96 74ca437
chore: Update monitoring to the latest version
lqiu96 f5fb153
Merge branch 'main' into datastore-csm-impl-2
lqiu96 4dbc83a
chore: Remove the env var for enable datastore metrics
lqiu96 51399b5
Merge branch 'datastore-csm-impl-2' of github.com:googleapis/google-c…
lqiu96 33ce2f7
chore: Address PR feedback
lqiu96 c982e17
chore: Address PR feedback
lqiu96 981f6c4
chore: address PR feedback
lqiu96 7418242
chore: Remove credential hashing from MetricServiceClient cache key
lqiu96 6e0b04d
Merge branch 'main' into datastore-csm-impl-2
lqiu96 b37ca37
chore: Address PR feedback
lqiu96 9023c68
Merge branch 'main' into datastore-csm-impl-2
lqiu96 e25db58
chore: Refactor code and add comments
lqiu96 40ec408
Merge branch 'datastore-csm-impl-2' of github.com:googleapis/google-c…
lqiu96 9035de1
chore: refactor logic for Otel views
lqiu96 ec30b98
chore: address code review feedback for built-in metrics
lqiu96 0a0d897
Merge branch 'main' of github.com:googleapis/google-cloud-java into d…
lqiu96 da3f901
chore: Clean up PR
lqiu96 a804ca4
Merge branch 'main' into datastore-csm-impl-2
lqiu96 da326d5
chore: Resolve merge conflicts
lqiu96 8729826
Merge branch 'datastore-csm-impl-2' into datastore-csm-impl-3
lqiu96 701b10c
chore(datastore): use local version in snippets to fix build
lqiu96 ac56599
chore: Rename the IT class to use IT as the prefix
lqiu96 316cdbe
chore: rename the metrics ITs test
lqiu96 b9f269f
Merge branch 'datastore-csm-impl-3' into datastore-csm-impl-2
lqiu96 8fbc1c6
feat(datastore): add database_id to metric attributes and fix IT tests
lqiu96 c9f5e00
chore: fix lint issues
lqiu96 6920311
test(datastore): parameterize metrics IT to use both gRPC and HTTP tr…
lqiu96 f90a43e
test(datastore): add Cloud Monitoring verification to IT and move con…
lqiu96 e06f42a
test(datastore): improve metrics IT robustness and handle NOT_FOUND e…
lqiu96 04e9a28
test(datastore): remove Cloud Monitoring verification from IT and add…
lqiu96 481e613
chore(datastore): format code in test files
lqiu96 05d20aa
chore: Clean up the code
lqiu96 10a15c1
chore: Use release please to manage datastore snippet version
lqiu96 bcc0f76
chore: Use UUID with hashing
lqiu96 b60105f
chore: Add protobuf-util-java dep
lqiu96 dc073fb
Merge branch 'main' into datastore-csm-impl-2
lqiu96 6d749ad
chore: Do not send metrics if there is an emulator
lqiu96 adbe8b0
chore: Always return CompositeMetricsRecorder
lqiu96 0deff42
chore(datastore): address PR feedback, update test cases to match new…
lqiu96 a977960
test(datastore): ensure all created OpenTelemetry instances are close…
lqiu96 515092a
chore: Clean up code based on PR feedback
lqiu96 b2f1459
test(datastore): explicitly disable built-in metrics export in IT test
lqiu96 2c13e0d
test(datastore): clean up Javadoc in IT test to remove obsolete refer…
lqiu96 d05b612
chore: Update comments in the ITs
lqiu96 bfd9357
test(datastore): update test case to expect 1 NoOp recorder
lqiu96 4cf7f7c
chore: Address PR feedback
lqiu96 ae44891
test(datastore): fix NPE in emulator test case by passing NoCredentials
lqiu96 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.
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.
Uh oh!
There was an error while loading. Please reload this page.