google-cloud-cpp icon indicating copy to clipboard operation
google-cloud-cpp copied to clipboard

Expose retry policies used by OpenTelemetry Resource Detector

Open dbolduc opened this issue 2 years ago • 1 comments

We have defaults, but as @coryan points out they should be configurable by the application.

Applications not running on GCP will want to disable any retrying. Applications running on GKE may want a long-ish retry policy.

https://github.com/googleapis/google-cloud-cpp/blob/959791f422137385c04c1a39d127b3717f2a88a3/google/cloud/opentelemetry/resource_detector.cc#L27-L31

dbolduc avatar Jul 17 '23 16:07 dbolduc

Needs some thinking and a design document.

coryan avatar Dec 20 '23 16:12 coryan

Closing as we don't have time to work on this at present.

scotthart avatar Jun 26 '24 19:06 scotthart