Skip to content
This repository was archived by the owner on Dec 23, 2023. It is now read-only.
This repository was archived by the owner on Dec 23, 2023. It is now read-only.

FR: Include Google Cloud Pub/Sub in distributed tracing #1013

Closed

Description

@DazWilkin

Google Cloud Engineer filing on behalf of a Google Cloud customer.

Customer expects distributed tracing flows to span Google Cloud Pub/Sub service.
As favored messaging service for GCP customers, Pub/Sub is a foundational component of many customer solutions and if the service does not integrate tracing spans, this makes OpenCensus (tracing) less useful.

Customers prefers Java although this FR transcends specific runtimes and should be provided for all

Requst Java, Golang initially.

/cc: @mtwo @shahprit

Activity

  1. sebright2 commented on Feb 22, 2018

    @sebright2
    Contributor
  2. self-assigned this
    on Feb 22, 2018
  3. HailongWen commented on Feb 22, 2018

    @HailongWen
    Contributor

    Ack. I am on vacation now and might not be able to respond to this timely.

    Meanwhile, @DazWilkin please refer to the integration we've done in googleapis/google-cloud-java#2846 which demonstrated some basic ideas of how OpenCensus integrate with GCS.

  4. DazWilkin commented on Feb 22, 2018

    @DazWilkin
    Author

    @HailongWen Thank you! I'm leaving on vacation tomorrow but I'll pass this along to my customer and will try to find some time to investigate applying this to Pub/Sub when I return.

  5. bogdandrutu commented on Feb 23, 2018

    @bogdandrutu
    Contributor

    @DazWilkin can you tell me more details about this? Does this request imply pub/sub passing internally the cloud trace context and also maybe participate in the trace or just the client library instrumented?

  6. DazWilkin commented on Feb 23, 2018

    @DazWilkin
    Author

    The customer (and others) want to be able to have traces that span services that span Pub/Sub. So, the former. E.g. App Engine receiving a client request, publishing a message to Pub/Sub that perhaps triggers a GKE service and dumps something onto Spanner.

  7. bogdandrutu commented on Feb 23, 2018

    @bogdandrutu
    Contributor

    @DazWilkin Awesome. This implies some internal discussions as well about instrumenting the Pub/Sub service internally correct?

  8. DazWilkin commented on Feb 23, 2018

    @DazWilkin
    Author

    Filing this FR is a catalyst for these discussions to begin (if not already) or to help me get folded into them so that I may pursue for this (and all) customers.

  9. songy23 commented on Jan 29, 2019

    @songy23
    Contributor

    @dinooliva Should we mark this as complete?

  10. songy23 commented on Apr 18, 2019

    @songy23
    Contributor

    IIUC Cloud Pub-Sub integration in Java is done. Tutorial can be found at https://opencensus.io/integrations/google_cloud/google_cloud_pubsub/java/.

  11. deanberris commented on May 24, 2019

    @deanberris

    Is there a chance that these convenience functions/types would be implemented in Go/Python?

  12. songy23 commented on May 24, 2019

    @songy23
    Contributor
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions