Hi community,
I'm trying to trace PubSub messaging across different Spring microservices. We are running two Spring microservices on GKE. Service 1 publishes to PubSub and Service 2 subscribes to the same topic. We use the spring-cloud-gcp-trace lib for Tracing in our services.
I see two approaches to trace PubSubMessages
There are no examples for the second option. With option 1 I see an examples where I can trace the message from the publisher to subscriber with time spent in the client libraries. But with option 2 I'm not sure if we will be able to do that. As the spring-cloud-gcp-trace uses Brave instrumentation and not necessarily OpenTelemetry,
The questions are
Thanks
Kishore