{"payload":{"feedbackUrl":"https://github.com/orgs/community/discussions/53140","repo":{"id":775126186,"defaultBranch":"main","name":"google-cloud-go","ownerLogin":"incident-io","currentUserCanPush":false,"isFork":true,"isEmpty":false,"createdAt":"2024-03-20T20:08:04.000Z","ownerAvatar":"https://avatars.githubusercontent.com/u/76436871?v=4","public":true,"private":false,"isOrgOwned":true},"refInfo":{"name":"","listCacheKey":"v0:1710965301.0","currentOid":""},"activityList":{"items":[{"before":null,"after":"29f400c5702f62d15a1bb6626c7b1564be35e601","ref":"refs/heads/lawrence-pubsub-tracing","pushedAt":"2024-03-20T20:08:21.000Z","pushType":"branch_creation","commitsCount":0,"pusher":{"login":"lawrencejones","name":"Lawrence Jones","path":"/lawrencejones","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/3518874?s=80&v=4"},"commit":{"message":"Trace Pub/Sub publishing\n\nThe Pub/Sub client publishes messages by placing them onto a client\nbuffer and having a bundler (working asynchronously) pull them from the\nbuffer and submit them in batch to GCP.\n\nThis means there's a disconnect from our app publishing messages and the\nprocess that publishes them. As we're seeing timeouts around publishing\nwe want to connect the app publish to the bundler publish.\n\nWe achieve this by:\n\n1. Adding tracing around flow control so waiting on a topic semaphore is\n exposed in our traces\n2. Creates spans that get linked between the application publish and the\n bundler publish that allow inspecting the gRPC operation that\n actually submits things to Pub/Sub\n\n^[3]: https://github.com/open-telemetry/opentelemetry-go/pull/5032\n\nThis isn't as nice as it could be because OTEL does not yet support\nadding links to spans after they've been created (see comment for more\ndetail). We will be able to clean this up once that feature lands (see\n[3]).","shortMessageHtmlLink":"Trace Pub/Sub publishing"}}],"hasNextPage":false,"hasPreviousPage":false,"activityType":"all","actor":null,"timePeriod":"all","sort":"DESC","perPage":30,"cursor":"djE6ks8AAAAEGxFAHQA","startCursor":null,"endCursor":null}},"title":"Activity ยท incident-io/google-cloud-go"}