Skip to content

chore(monitoring): fix 4MB page limit and short retry timeout in samples - #36723

Open
torreypayne wants to merge 1 commit into
mainfrom
chore/monitoring-samples-stability
Open

torreypayne wants to merge 1 commit into
mainfrom
chore/monitoring-samples-stability

Conversation

@torreypayne

Copy link
Copy Markdown
Member

Fixes two deterministic failures in google-cloud-monitoring/samples:

  • Pass page_size: 100 to list_metric_descriptors in metrics.rb so single-page responses stay below gRPC's 4 MiB default limit (4212350 vs. 4194304 on helical-zone-771).
  • Fix retry_block in acceptance/helper.rb to retry count attempts with capped exponential backoff (<= 15s), and use retry_block 12 for custom metric visibility in metrics_test.rb and quickstart_test.rb.

Verified rubocop, syntax checks, and request proto compatibility across Ruby 3.2, 3.3, and 4.0.

Related to b/552162906, b/580634043, and b/580635694.

@torreypayne
torreypayne requested review from a team and yoshi-approver as code owners November 14, 2026 00:05

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant