feat: Adding Retry policy for OS Config V1 AgentEndpointService

PiperOrigin-RevId: 307647669
pull/602/head
Google APIs 5 years ago committed by Copybara-Service
parent 45b363d3ab
commit 012c553112
  1. 35
      google/cloud/osconfig/agentendpoint/v1/agentendpoint_grpc_service_config.json

@ -7,17 +7,28 @@
"initialBackoff": "1s",
"maxBackoff": "60s",
"backoffMultiplier": 1.3,
"retryableStatusCodes": ["UNAVAILABLE", "DEADLINE_EXCEEDED"]
"retryableStatusCodes": ["UNAVAILABLE"]
}
},
{
"name": [
{ "service": "google.cloud.osconfig.agentendpoint.v1.AgentEndpointService", "method": "ReceiveTaskNotification" },
{ "service": "google.cloud.osconfig.agentendpoint.v1.AgentEndpointService", "method": "StartNextTask" },
{ "service": "google.cloud.osconfig.agentendpoint.v1.AgentEndpointService", "method": "ReportTaskProgress" },
{ "service": "google.cloud.osconfig.agentendpoint.v1.AgentEndpointService", "method": "ReportTaskComplete" },
{ "service": "google.cloud.osconfig.agentendpoint.v1.AgentEndpointService", "method": "RegisterAgent" }
],
"timeout": "60s"
}]
},{
"name": [
{
"service": "google.cloud.osconfig.agentendpoint.v1.AgentEndpointService",
"method": "ReceiveTaskNotification"
}
],
"timeout": "3600s",
"retryPolicy": {
"maxAttempts": 5,
"initialBackoff": "1s",
"maxBackoff": "60s",
"backoffMultiplier": 1.3,
"retryableStatusCodes": [
"DEADLINE_EXCEEDED",
"CANCELLED",
"ABORTED",
"INTERNAL",
"UNAVAILABLE"
]
}
}]
}

Loading…
Cancel
Save