-
Notifications
You must be signed in to change notification settings - Fork 369
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Integrate CloudTrace with PubSub #9476
Comments
We are hoping to invest in telemetry/observability significantly next year, which I hope would accomplish what you need. Assigning to @Rishabh-V who is likely to take this work on; we may end up wanting to close this specific issue (rather than have it open all the time that we're doing the more general work) but we'll see. |
@jskeet thanks for the input I'll try to put something up before next year if I can ... Do you have an idea for the 2 technical points:
|
Sorry, I'm not in a position to answer those questions (especially as I'm basically on vacation now) - but I'd urge you not to spend much time writing code for that yourself if we'll be doing a wider design shortly anyway. |
I did not understand that it was going to be done soon (when you said next year, in my head, it was like december next year 😄 ) I'll wait then, please keep me in touch when you have an idea about the delay (like if you create a "bigger" issue to track this, please close this one as duplicate) Have a good vacation and take care of you 🍸 |
I'll close this one as it is contained by #8366 . Please follow that issue for updates. |
Is your feature request related to a problem? Please describe.
My problem is that when I publish a message from one cloud run and then consume the message from other cloud runs with a push subscription, then each consumer is a separate trace (defeating the purpose of distributed tracing because when I have an error in the pubsub consumer, it is not easy to go back to the previous trace)
See the next "More details" to see how I configure them
Describe the solution you'd like
I'd like a Google supported nuget package that takes care of distributed tracing in the PubSub scenario with a push endpoint in a cloud run
More details
I configure PubSub and CloudTrace in the first cloud run :
Note : the PubSubPublisher class is just a wrapper above PublisherClient, see code below
I then have a push subscription in another cloud run (where I also have
builder.Services.AddGoogleDiagnosticsForAspNetCore()
)Note that I redacted some part of the code for "privacy"
Proposed "solution"
The nuget would
Do you think it can be done ? If so, could you point me to the doc where I can find answers to the TODO in the code below ?
Thanks for any pointers, I'm really frustrated 😄
Code
The text was updated successfully, but these errors were encountered: