Repository navigation
chore(compute): add OpenTelemetry observability validation tests - #15119
jinseopkim0 wants to merge 2 commits into
Conversation
There was a problem hiding this comment.
Code Review
This pull request introduces ComputeObservabilityValidationTest to validate OpenTelemetry traces, golden signal metrics, exemplars, and error logging correlation for the Compute GAPIC client. The feedback suggests making the test self-contained by explicitly setting the google.sdk.java.logging system property during setup, and clearing it during teardown along with stopping the test appender to prevent side effects on other tests.
|
@gemini-code-assist review |
There was a problem hiding this comment.
Code Review
This pull request adds a new test class, ComputeObservabilityValidationTest, to validate OpenTelemetry integration (including traces, metrics, exemplars, and logging correlation) on the Compute GAPIC client using an in-memory mock transport. There are no review comments, so I have no feedback to provide.
Adds fast, self-contained observability validation tests (
ComputeObservabilityValidationTest) for the Compute GAPIC client usingMockHttpServiceand in-memory OpenTelemetry exporters.Validates parent trace context propagation, T3/T4 span hierarchy and HTTP/JSON attributes, golden signal duration metrics with T3 span exemplars, and L4/L3 actionable error log span correlation via
GOOGLE_SDK_JAVA_LOGGING=truefor both success and error responses.b/564460092