Skip to content
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

fix(pubsub): track errors in published messages opencensus metric #2970

Merged
merged 3 commits into from
Oct 6, 2020

Conversation

hongalex
Copy link
Member

@hongalex hongalex commented Oct 6, 2020

As part of the ordering keys merge, errors in message publishes were not being tracked properly. This PR fixes this by tracking the number of failed message publishes through the same stats.Record call, but with a context tagged with the publish error.

@google-cla google-cla bot added the cla: yes This human has signed the Contributor License Agreement. label Oct 6, 2020
@product-auto-label product-auto-label bot added the api: pubsub Issues related to the Pub/Sub API. label Oct 6, 2020
@hongalex hongalex merged commit 5c19d39 into googleapis:master Oct 6, 2020
@hongalex hongalex deleted the fix-pubsub-publish-oc branch October 6, 2020 18:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
api: pubsub Issues related to the Pub/Sub API. cla: yes This human has signed the Contributor License Agreement.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants