•
Discovery API:pubsub.v1↗
Medium Impact
Docs

Pub/Sub Adds Client Telemetry for Publish Operations

Pub/Sub Adds Client Telemetry for Publish Operations

New `PubsubClientTelemetry` and `PublishOperation` schemas provide client-side debugging information for publish calls, including hedging attempts and start times.

pubsub.v1 had no additional version-exclusive schema or method changes beyond the shared cross-version updates detailed below.

Shared Across Versions (v1, v1beta1a, v1beta2)

1 shared change · 0 shared methods

Developers can now gain deeper insights into their Pub/Sub client's publish behavior. The new PubsubClientTelemetry schema, intended to be sent via the x-goog-pubsub-client-telemetry header, includes a publishOperation field. This PublishOperation object exposes hedgedAttemptCount to track publish hedging attempts and publishStartTime to indicate when a publish call was initiated. This offers better end-to-end latency visibility and enhanced debugging capabilities for client-side issues.