interop: enable OpenTelemetry tracing support in Java interop client … - #12910
Open
AgraVator wants to merge 19 commits into
Open
interop: enable OpenTelemetry tracing support in Java interop client …#12910AgraVator wants to merge 19 commits into
AgraVator wants to merge 19 commits into
Conversation
…pass AnimalSniffer
…emetry Java 8+ APIs
… preserve applicationSpan reference
AgraVator
marked this pull request as ready for review
August 4, 2026 07:48
- Synchronize buildscripts/make_dependencies.* to Protobuf 25.6 and Abseil 20230802.1 - Align Kokoro Windows CI batch scripts to Protobuf 25.6 - Update README.md and example project build files to Protobuf 3.25.9 - Exclude transitive protobuf 4.x dependencies to enforce strict 3.25.9 resolution
This reverts commit 625ce39.
…OTEL_TRACING flag
…client and server
… match upstream master
…ffs in TestServiceClient and TestServiceServer
…sing to TestServiceServer
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
interop: Enable OpenTelemetry Tracing Support in Java Interop Client and Server
Summary
Enables OpenTelemetry tracing in
TestServiceClientandTestServiceServerto support cross-language OpenTelemetry interop tests (test_unary_rpc_tracing_export).Details of Changes
--enable_opentelemetry(boolean) and--otel_collector_address(string) CLI argument parsing toTestServiceClientandTestServiceServer.AutoConfiguredOpenTelemetrySdkwithotel.traces.exporter=otlpandotel.bsp.schedule.delay=100(for fast test flushes).GrpcOpenTelemetrywith global tracing enabled.try / finallycallingopenTelemetrySdk.close()to guarantee span export before JVM exit.libraries.opentelemetry.sdk.extension.autoconfigureandlibraries.opentelemetry.exporter.otlptointerop-testing/build.gradle.