Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
CSM O11y: improve the retry settings of list_time_series API call (#30)
Extends the retry conditions for `metric_client.list_time_series` call in csm_observability_test: - Retry on HTTP 5xx + corresponding gRPC statuses. Previously only retried on 503 ServiceUnavailable. - Retry on HTTP 429 / gRPC ResourceExhausted. The error indicates the request is rate limited, so we want to retry. Ref [Default retry settings](https://github.com/googleapis/google-cloud-python/blob/google-cloud-monitoring-v2.18.0/packages/google-cloud-monitoring/google/cloud/monitoring_v3/services/metric_service/transports/base.py#L210-L218).
- Loading branch information