Skip to content

Commit

Permalink
feat: add client side retry config for export service
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 582745175
  • Loading branch information
Google APIs authored and Copybara-Service committed Nov 15, 2023
1 parent f025307 commit c497e84
Show file tree
Hide file tree
Showing 3 changed files with 42 additions and 1 deletion.
5 changes: 4 additions & 1 deletion google/devtools/cloudprofiler/v2/BUILD.bazel
Expand Up @@ -213,7 +213,9 @@ php_gapic_library(
rest_numeric_enums = True,
service_yaml = "cloudprofiler_v2.yaml",
transport = "grpc+rest",
deps = [":cloudprofiler_php_proto"],
deps = [
":cloudprofiler_php_proto",
],
)

# Open Source Packages
Expand Down Expand Up @@ -322,6 +324,7 @@ load(

csharp_proto_library(
name = "cloudprofiler_csharp_proto",
extra_opts = [],
deps = [":cloudprofiler_proto"],
)

Expand Down
Expand Up @@ -11,6 +11,17 @@
"retryableStatusCodes": ["UNAVAILABLE"]
}
},
{
"name": [{"service": "google.devtools.cloudprofiler.v2.ExportService"}],
"timeout": "130s",
"retryPolicy": {
"maxAttempts": 3,
"initialBackoff": "1s",
"maxBackoff": "10s",
"backoffMultiplier": 1.3,
"retryableStatusCodes": ["UNAVAILABLE"]
}
},
{
"name": [
{
Expand Down
27 changes: 27 additions & 0 deletions google/devtools/cloudprofiler/v2/cloudprofiler_v2.yaml
Expand Up @@ -20,3 +20,30 @@ authentication:
https://www.googleapis.com/auth/cloud-platform,
https://www.googleapis.com/auth/monitoring,
https://www.googleapis.com/auth/monitoring.write
publishing:
new_issue_uri: https://issuetracker.google.com/issues/new?component=1227997&template=1161103
documentation_uri: https://cloud.google.com/profiler/docs
api_short_name: cloudprofiler
github_label: 'api: cloudprofiler'
doc_tag_prefix: cloudprofiler
organization: CLOUD
library_settings:
- version: google.devtools.cloudprofiler.v2
launch_stage: GA
java_settings:
common:
destinations:
- PACKAGE_MANAGER
python_settings:
common:
destinations:
- PACKAGE_MANAGER
node_settings:
common:
destinations:
- PACKAGE_MANAGER
go_settings:
common:
destinations:
- PACKAGE_MANAGER

0 comments on commit c497e84

Please sign in to comment.