Add autoconfiguration for client side observation interceptor

[resolves #51]

Signed-off-by: Jonas Bjørge Andersen <dev@jonasandersen.no>
This commit is contained in:
Jonas Bjørge Andersen
2024-12-17 19:01:14 +01:00
committed by Dave Syer
parent a21748aba2
commit 4149ed552e
5 changed files with 141 additions and 1 deletions

View File

@@ -131,3 +131,7 @@ However, by setting the `mergeWithGlobalInterceptors` parameter on the channel f
You can use this option if you want to add a per-client interceptor between global interceptors.
IMPORTANT: The per-channel interceptors you pass in must either be bean instances marked with `@Order` or regular objects that implement the `Ordered` interface to be properly merged/ordered with the global interceptors.
== Observability
Spring gRPC provides an autoconfigured interceptor that can be used to provide observability to your gRPC clients.