Skip to content

bigtable: Support client side metrics #12997

Closed
6 of 6 issues completed
Closed

Description

@bhshkh

Client-side metrics feature introduces built-in client-side metrics for the Bigtable Go client library to improve observability and help users diagnose performance issues.

Motivation
Previously, gaining visibility into client-side performance was difficult. The existing OpenCensus integration had several drawbacks: it required manual setup, added dependencies, incurred monitoring costs, and had poor adoption. This often led to delays in resolving customer issues.

Solution
This change introduces built-in client-side metrics that are enabled by default in the Go client library. These metrics are provided at no additional cost and are designed to give developers and support engineers a clearer picture of request lifecycles.

Key Metrics
The new metrics include:

  • Operation latencies (bigtable.googleapis.com/client/operation_latencies): End-to-end latency for a Bigtable operation, including retries.
  • Attempt latencies (bigtable.googleapis.com/client/attempt_latencies): Latency for a single RPC attempt.
  • Retry count (bigtable.googleapis.com/client/retry_count): The number of retries for an operation.
  • Application blocking latencies (bigtable.googleapis.com/client/application_blocking_latencies): Time the application takes to process a response.
  • Server latencies (bigtable.googleapis.com/client/server_latencies): Latency as measured on the server-side.
  • Connectivity error count (bigtable.googleapis.com/client/connectivity_error_count): Number of requests that failed to reach Google's network.

For a complete list and detailed descriptions, see the Client-side metrics descriptions.

Activity

  1. self-assigned this
    on Sep 30, 2025
  2. added
    type: feature request‘Nice-to-have’ improvement, new feature or different behavior or design.
    on Sep 30, 2025
  3. linked a pull request that will close this issuefix(bigtable): Fix NoopMetricsProvider panic #12709on Sep 30, 2025
  4. 8 remaining items

  5. added theissue type on Sep 30, 2025
  6. removed
    type: feature request‘Nice-to-have’ improvement, new feature or different behavior or design.
    on Sep 30, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

api: bigtableIssues related to the Bigtable API.

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

    ⌂ 换网址