logging_grpc_service_config.json 3.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162
  1. {
  2. "methodConfig": [
  3. {
  4. "name": [
  5. {
  6. "service": "google.logging.v2.MetricsServiceV2",
  7. "method": "CreateLogMetric"
  8. }
  9. ],
  10. "timeout": "60s"
  11. },
  12. {
  13. "name": [
  14. {
  15. "service": "google.logging.v2.LoggingServiceV2",
  16. "method": "DeleteLog"
  17. },
  18. {
  19. "service": "google.logging.v2.LoggingServiceV2",
  20. "method": "WriteLogEntries"
  21. },
  22. {
  23. "service": "google.logging.v2.LoggingServiceV2",
  24. "method": "ListLogEntries"
  25. },
  26. {
  27. "service": "google.logging.v2.LoggingServiceV2",
  28. "method": "ListMonitoredResourceDescriptors"
  29. },
  30. {
  31. "service": "google.logging.v2.LoggingServiceV2",
  32. "method": "ListLogs"
  33. }
  34. ],
  35. "timeout": "60s",
  36. "retryPolicy": {
  37. "maxAttempts": 5,
  38. "initialBackoff": "0.100s",
  39. "maxBackoff": "60s",
  40. "backoffMultiplier": 1.3,
  41. "retryableStatusCodes": [
  42. "DEADLINE_EXCEEDED",
  43. "INTERNAL",
  44. "UNAVAILABLE"
  45. ]
  46. }
  47. },
  48. {
  49. "name": [
  50. {
  51. "service": "google.logging.v2.LoggingServiceV2",
  52. "method": "TailLogEntries"
  53. }
  54. ],
  55. "timeout": "3600s",
  56. "retryPolicy": {
  57. "maxAttempts": 5,
  58. "initialBackoff": "0.100s",
  59. "maxBackoff": "60s",
  60. "backoffMultiplier": 1.3,
  61. "retryableStatusCodes": [
  62. "DEADLINE_EXCEEDED",
  63. "INTERNAL",
  64. "UNAVAILABLE"
  65. ]
  66. }
  67. },
  68. {
  69. "name": [
  70. {
  71. "service": "google.logging.v2.ConfigServiceV2",
  72. "method": "ListSinks"
  73. },
  74. {
  75. "service": "google.logging.v2.ConfigServiceV2",
  76. "method": "GetSink"
  77. },
  78. {
  79. "service": "google.logging.v2.ConfigServiceV2",
  80. "method": "UpdateSink"
  81. },
  82. {
  83. "service": "google.logging.v2.ConfigServiceV2",
  84. "method": "DeleteSink"
  85. },
  86. {
  87. "service": "google.logging.v2.ConfigServiceV2",
  88. "method": "ListExclusions"
  89. },
  90. {
  91. "service": "google.logging.v2.ConfigServiceV2",
  92. "method": "GetExclusion"
  93. },
  94. {
  95. "service": "google.logging.v2.ConfigServiceV2",
  96. "method": "DeleteExclusion"
  97. }
  98. ],
  99. "timeout": "60s",
  100. "retryPolicy": {
  101. "maxAttempts": 5,
  102. "initialBackoff": "0.100s",
  103. "maxBackoff": "60s",
  104. "backoffMultiplier": 1.3,
  105. "retryableStatusCodes": [
  106. "DEADLINE_EXCEEDED",
  107. "INTERNAL",
  108. "UNAVAILABLE"
  109. ]
  110. }
  111. },
  112. {
  113. "name": [
  114. {
  115. "service": "google.logging.v2.ConfigServiceV2",
  116. "method": "CreateSink"
  117. },
  118. {
  119. "service": "google.logging.v2.ConfigServiceV2",
  120. "method": "CreateExclusion"
  121. },
  122. {
  123. "service": "google.logging.v2.ConfigServiceV2",
  124. "method": "UpdateExclusion"
  125. }
  126. ],
  127. "timeout": "120s"
  128. },
  129. {
  130. "name": [
  131. {
  132. "service": "google.logging.v2.MetricsServiceV2",
  133. "method": "ListLogMetrics"
  134. },
  135. {
  136. "service": "google.logging.v2.MetricsServiceV2",
  137. "method": "GetLogMetric"
  138. },
  139. {
  140. "service": "google.logging.v2.MetricsServiceV2",
  141. "method": "UpdateLogMetric"
  142. },
  143. {
  144. "service": "google.logging.v2.MetricsServiceV2",
  145. "method": "DeleteLogMetric"
  146. }
  147. ],
  148. "timeout": "60s",
  149. "retryPolicy": {
  150. "maxAttempts": 5,
  151. "initialBackoff": "0.100s",
  152. "maxBackoff": "60s",
  153. "backoffMultiplier": 1.3,
  154. "retryableStatusCodes": [
  155. "DEADLINE_EXCEEDED",
  156. "INTERNAL",
  157. "UNAVAILABLE"
  158. ]
  159. }
  160. }
  161. ]
  162. }