Skip to content

Conversation

@danieljbruce
Copy link
Contributor

Description

Adds a test to make sure the universe domain is used when writing metrics.

Impact

Adds a test to ensure metrics are always written to the right place when universe domain is provided.

Testing

Assuming the MetricServiceClient is working properly, this test ensures that universe domain is passed to the metric service client so that metrics will be written to the universe domain endpoint.

An even better test would be to set up a project at a different universe domain and check it for metrics after a write to ensure the metrics are actually getting written there, but that setup is a pretty heavy lift. I think the current test gives us enough confidence that the test is working correctly.

@danieljbruce danieljbruce requested review from a team as code owners August 7, 2025 17:39
@product-auto-label product-auto-label bot added size: s Pull request size is small. api: bigtable Issues related to the googleapis/nodejs-bigtable API. labels Aug 7, 2025
@danieljbruce danieljbruce changed the title feat: Add a metric service client test and ensure universe domain gets used when writing the metrics test: Add a metric service client test and ensure universe domain gets used when writing the metrics Aug 7, 2025
@danieljbruce danieljbruce requested a review from bhshkh August 7, 2025 17:47
@danieljbruce danieljbruce added automerge Merge the pull request once unit tests and other checks pass. kokoro:force-run Add this label to force Kokoro to re-run the tests. labels Aug 12, 2025
@yoshi-kokoro yoshi-kokoro removed the kokoro:force-run Add this label to force Kokoro to re-run the tests. label Aug 13, 2025
@gcf-merge-on-green gcf-merge-on-green bot merged commit 7bc77ca into main Aug 13, 2025
21 of 23 checks passed
@gcf-merge-on-green gcf-merge-on-green bot removed the automerge Merge the pull request once unit tests and other checks pass. label Aug 13, 2025
@gcf-merge-on-green gcf-merge-on-green bot deleted the 359913994-universe-domain-csm branch August 13, 2025 15:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

api: bigtable Issues related to the googleapis/nodejs-bigtable API. size: s Pull request size is small.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants