Add x-goog-spanner-end-to-end-tracing header to Spanner RPC contexts for enabling spanner server side tracing.
The header is added to support end-to-end tracing feature, which aims to create trace spans at Spanner layer to provide more context to customers on their requests to Spanner.
This feature is off by default and can be enabled by enabling server side tracing while creating Spanner object.
Add
x-goog-spanner-end-to-end-tracing
header to Spanner RPC contexts for enabling spanner server side tracing.The header is added to support end-to-end tracing feature, which aims to create trace spans at Spanner layer to provide more context to customers on their requests to Spanner.
This feature is off by default and can be enabled by enabling server side tracing while creating Spanner object.
Spanner spanner = SpannerOptions.newBuilder().enableServerSideTracing().build().getService();