mirror of
https://github.com/spring-projects/spring-boot.git
synced 2026-09-17 12:09:16 +00:00
Baggage is already propagated over gRPC by the auto-configured Micrometer observation interceptors: on the server side the ObservationGrpcServerInterceptor hands the incoming metadata to the tracing observation handlers, which extract the W3C baggage header as well as the individual metadata keys listed in management.tracing.baggage.remote-fields, and on the client side the ObservationGrpcClientInterceptor writes them to the metadata of outgoing calls. This was not documented, and it is easy to miss that it requires micrometer-core on the classpath. This commit adds an Observability section to the gRPC server documentation, extends the gRPC client Observability section, and mentions gRPC in the baggage section of the tracing documentation. See gh-51597 Signed-off-by: Oleksandr Shevchenko <oleksandr.shevchenko@datarobot.com>