Skip to content

Observability for Pub/Sub subscriber #4117

@dbolduc

Description

@dbolduc

The Subscriber client does a lot for applications under the surface. That is great, but sometimes surfacing errors can make it useful for applications to troubleshoot their environments. e.g. a flaky network may result in many messages being redelivered.

Our library should help applications diagnose issues and optimize performance by offering some sort of observability.

Signals

Googlers can see go/pubsub-debug-logging for a list of valuable signals to collect.

We are not committing to all of them, but it will at least be useful to know

  • when a stream is restarted under the hood
  • when an ack/nack/modack RPC fails silently

Metadata

Metadata

Assignees

No one assigned

    Labels

    api: pubsubIssues related to the Pub/Sub API.priority: p3Desirable enhancement or fix. May not be included in next release.type: feature request‘Nice-to-have’ improvement, new feature or different behavior or design.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions