You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* Including `approximate_backlog_counter` in Request/Response protos (#395)
* Including approximate_backlog_counter in Request/Response protos
* addressed comments
* fixed ci error
* fixed the jq error locally, maybe causing CI to fail
* Updated TaskQueueTypeInfo to have BacklogInfo (#396)
* Update DescribeTaskQueueResponse to remove BacklogInfo (#397)
* Removed BacklogInfo from DescribeTaskQueueResponse
* ran make
* Rename BacklogInfo to TaskQueueStats (#411)
* corrected tag number
* Updated docstrings
* Fixed lint complains
---------
Co-authored-by: Shahab Tajik <[email protected]>
Copy file name to clipboardExpand all lines: openapi/openapiv2.json
+36-1
Original file line number
Diff line number
Diff line change
@@ -1195,9 +1195,16 @@
1195
1195
},
1196
1196
"collectionFormat": "multi"
1197
1197
},
1198
+
{
1199
+
"name": "reportStats",
1200
+
"description": "Report stats for the requested task queue types and versions",
1201
+
"in": "query",
1202
+
"required": false,
1203
+
"type": "boolean"
1204
+
},
1198
1205
{
1199
1206
"name": "reportPollers",
1200
-
"description": "Report backlog info for the requested task queue types and versions\nbool report_backlog_info = 8;\nReport list of pollers for requested task queue types and versions",
1207
+
"description": "Report list of pollers for requested task queue types and versions",
1201
1208
"in": "query",
1202
1209
"required": false,
1203
1210
"type": "boolean"
@@ -8314,6 +8321,31 @@
8314
8321
},
8315
8322
"description": "Reachability of tasks for a worker on a single task queue."
8316
8323
},
8324
+
"v1TaskQueueStats": {
8325
+
"type": "object",
8326
+
"properties": {
8327
+
"approximateBacklogCount": {
8328
+
"type": "string",
8329
+
"format": "int64",
8330
+
"description": "The approximate number of tasks backlogged in this task queue. May count expired tasks but eventually converges\nto the right value."
8331
+
},
8332
+
"approximateBacklogAge": {
8333
+
"type": "string",
8334
+
"description": "Approximate age of the oldest task in the backlog based on the create timestamp of the task at the head of the queue."
8335
+
},
8336
+
"tasksAddRate": {
8337
+
"type": "number",
8338
+
"format": "float",
8339
+
"description": "Approximate tasks per second added to the task queue based on activity within a fixed window. This includes both backlogged and\nsync-matched tasks."
8340
+
},
8341
+
"tasksDispatchRate": {
8342
+
"type": "number",
8343
+
"format": "float",
8344
+
"description": "Approximate tasks per second dispatched to workers based on activity within a fixed window. This includes both backlogged and\nsync-matched tasks."
8345
+
}
8346
+
},
8347
+
"description": "For workflow task queues, we only report the normal queue stats, not sticky queues. This means the stats\nreported here do not count all workflow tasks. However, because the tasks queued in sticky queues only remain\nvalid for a few seconds, the inaccuracy becomes less significant as the backlog age grows."
8348
+
},
8317
8349
"v1TaskQueueStatus": {
8318
8350
"type": "object",
8319
8351
"properties": {
@@ -8360,6 +8392,9 @@
8360
8392
"$ref": "#/definitions/v1PollerInfo"
8361
8393
},
8362
8394
"description": "Unversioned workers (with `useVersioning=false`) are reported in unversioned result even if they set a Build ID."
0 commit comments