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
Copy file name to clipboardExpand all lines: openapi/openapiv2.json
+89-52Lines changed: 89 additions & 52 deletions
Original file line number
Diff line number
Diff line change
@@ -2225,6 +2225,7 @@
2225
2225
},
2226
2226
{
2227
2227
"name": "query",
2228
+
"description": "`query` in ListWorkers is used to filter workers based on worker status info.\nThe following worker status attributes are expected are supported as part of the query:\n* WorkerId\n* WorkerIdentity\n* HostId\n* TaskQueue\n* DeploymentName\n* BuildId\n* SdkName\n* SdkVersion\n* Uptime\n* LastHeartbeatTime\n* Status\nCurrently metrics are not supported as a part of ListWorkers query.",
2228
2229
"in": "query",
2229
2230
"required": false,
2230
2231
"type": "string"
@@ -5865,6 +5866,7 @@
5865
5866
},
5866
5867
{
5867
5868
"name": "query",
5869
+
"description": "`query` in ListWorkers is used to filter workers based on worker status info.\nThe following worker status attributes are expected are supported as part of the query:\n* WorkerId\n* WorkerIdentity\n* HostId\n* TaskQueue\n* DeploymentName\n* BuildId\n* SdkName\n* SdkVersion\n* Uptime\n* LastHeartbeatTime\n* Status\nCurrently metrics are not supported as a part of ListWorkers query.",
5868
5870
"in": "query",
5869
5871
"required": false,
5870
5872
"type": "string"
@@ -7574,8 +7576,8 @@
7574
7576
"type": "string",
7575
7577
"description": "The identity of the client who initiated this request."
7576
7578
},
7577
-
"workerStatus": {
7578
-
"$ref": "#/definitions/v1WorkerStatus"
7579
+
"workerInfo": {
7580
+
"$ref": "#/definitions/v1WorkerInfo"
7579
7581
}
7580
7582
}
7581
7583
},
@@ -11364,11 +11366,11 @@
11364
11366
"v1ListWorkersResponse": {
11365
11367
"type": "object",
11366
11368
"properties": {
11367
-
"workerStatus": {
11369
+
"workerInfo": {
11368
11370
"type": "array",
11369
11371
"items": {
11370
11372
"type": "object",
11371
-
"$ref": "#/definitions/v1WorkerStatus"
11373
+
"$ref": "#/definitions/v1WorkerInfo"
11372
11374
}
11373
11375
},
11374
11376
"nextPageToken": {
@@ -15263,65 +15265,81 @@
15263
15265
"v1WorkerHostInfo": {
15264
15266
"type": "object",
15265
15267
"properties": {
15266
-
"hostId": {
15268
+
"hostName": {
15267
15269
"type": "string",
15268
-
"description": "worker host identifier, should be unique for the namespace."
15270
+
"description": "Worker host identifier, should be unique for the namespace."
15269
15271
},
15270
15272
"processId": {
15271
15273
"type": "string",
15272
-
"description": "worker process identifier, should be unique for the host."
"description": "Worker process identifier, should be unique for the host."
15277
15275
},
15278
15276
"workerIdentity": {
15279
15277
"type": "string",
15280
-
"description": "Worker identity, set by the worker, may not be unique."
15278
+
"description": "Worker identity, set by the client, may not be unique.\nUsually host_name+(user group name)+process_id, but can be overwritten by the user."
15281
15279
}
15282
15280
},
15283
-
"title": "Holds everything needed to identify the host/process context"
15281
+
"title": "Holds everything needed to identify the worker host/process context"
15284
15282
},
15285
-
"v1WorkerStatus": {
15283
+
"v1WorkerInfo": {
15286
15284
"type": "object",
15287
15285
"properties": {
15288
15286
"workerId": {
15289
15287
"type": "string",
15290
-
"description": "Worker identifier, should be unique for the namespace. Required."
15288
+
"description": "Worker identifier, should be unique for the namespace.\nIt is different from worker identity, which is usually a combination of host_name and process_id."
"description": "Worker status. Possible values - \"running\", \"shutting_down\", \"shutdown\"."
15310
+
},
15310
15311
"uptime": {
15311
-
"type": "string"
15312
+
"type": "string",
15313
+
"title": "Uptime of the worker, since it started.\nThis is the time since the worker started, not the time since the last heartbeat.\nIt can be used to determine worker start time. (current time - uptime)"
15312
15314
},
15313
15315
"lastHeartbeatTime": {
15314
15316
"type": "string",
15315
-
"format": "date-time"
15317
+
"format": "date-time",
15318
+
"description": "Last heartbeat time, coming from the worker. Worker should set it to \"now\"."
15319
+
},
15320
+
"workflowTaskSlotsInfo": {
15321
+
"$ref": "#/definitions/v1WorkerSlotsInfo"
15322
+
},
15323
+
"activityTaskSlotsInfo": {
15324
+
"$ref": "#/definitions/v1WorkerSlotsInfo"
15325
+
},
15326
+
"nexusTaskSlotsInfo": {
15327
+
"$ref": "#/definitions/v1WorkerSlotsInfo"
15328
+
},
15329
+
"localActivitySlotsInfo": {
15330
+
"$ref": "#/definitions/v1WorkerSlotsInfo"
15316
15331
},
15317
-
"workflowTaskStatus": {
15318
-
"$ref": "#/definitions/v1WorkerTaskStatus"
15332
+
"workflowPollerInfo": {
15333
+
"$ref": "#/definitions/v1WorkerPollerInfo"
15319
15334
},
15320
-
"activityTaskStatus": {
15321
-
"$ref": "#/definitions/v1WorkerTaskStatus"
15335
+
"workflowStickyPollerInfo": {
15336
+
"$ref": "#/definitions/v1WorkerPollerInfo"
15322
15337
},
15323
-
"nexusTaskStatus": {
15324
-
"$ref": "#/definitions/v1WorkerTaskStatus"
15338
+
"activityPollerInfo": {
15339
+
"$ref": "#/definitions/v1WorkerPollerInfo"
15340
+
},
15341
+
"nexusPollerInfo": {
15342
+
"$ref": "#/definitions/v1WorkerPollerInfo"
15325
15343
},
15326
15344
"cpuUsagePercent": {
15327
15345
"type": "number",
@@ -15331,54 +15349,73 @@
15331
15349
"type": "string",
15332
15350
"format": "int64"
15333
15351
},
15334
-
"cacheHitRatio": {
15335
-
"type": "number",
15336
-
"format": "float"
15352
+
"stickyCacheHit": {
15353
+
"type": "integer",
15354
+
"format": "int32",
15355
+
"description": "A Workflow Task found a cached Workflow Execution to run against."
15337
15356
},
15338
-
"maxCacheSize": {
15339
-
"type": "number",
15340
-
"format": "float"
15357
+
"stickyCacheMiss": {
15358
+
"type": "integer",
15359
+
"format": "int32",
15360
+
"description": "A Workflow Task did not find a cached Workflow execution to run against."
15341
15361
},
15342
-
"availableCacheSize": {
15343
-
"type": "number",
15344
-
"format": "float"
15362
+
"stickyCacheSize": {
15363
+
"type": "integer",
15364
+
"format": "int32",
15365
+
"description": "Current cache size, expressed in number of Workflow Executions."
15345
15366
}
15346
-
}
15367
+
},
15368
+
"description": "Worker info message, contains information about the worker and its current state.\nAll information is provided by the worker itself."
15347
15369
},
15348
-
"v1WorkerTaskStatus": {
15370
+
"v1WorkerPollerInfo": {
15349
15371
"type": "object",
15350
15372
"properties": {
15351
-
"lastSuccessfulTaskPollTime": {
15352
-
"type": "string",
15353
-
"format": "date-time"
15373
+
"activePollers": {
15374
+
"type": "integer",
15375
+
"format": "int32"
15354
15376
},
15355
-
"taskPollers": {
15377
+
"availablePollers": {
15356
15378
"type": "integer",
15357
15379
"format": "int32"
15358
15380
},
15381
+
"lastSuccessfulPollTime": {
15382
+
"type": "string",
15383
+
"format": "date-time"
15384
+
}
15385
+
}
15386
+
},
15387
+
"v1WorkerSlotsInfo": {
15388
+
"type": "object",
15389
+
"properties": {
15359
15390
"slotsAvailable": {
15360
15391
"type": "integer",
15361
-
"format": "int32"
15392
+
"format": "int32",
15393
+
"description": "Number of slots available for the worker to specific tasks."
15362
15394
},
15363
15395
"slotsUsed": {
15364
15396
"type": "integer",
15365
-
"format": "int32"
15397
+
"format": "int32",
15398
+
"description": "Number of slots used by the worker for specific tasks."
15366
15399
},
15367
15400
"processedTasks": {
15368
15401
"type": "integer",
15369
-
"format": "int32"
15402
+
"format": "int32",
15403
+
"description": "Total number of tasks processed by the worker so far."
15370
15404
},
15371
15405
"failedTasks": {
15372
15406
"type": "integer",
15373
-
"format": "int32"
15407
+
"format": "int32",
15408
+
"description": "Total number of failed tasks processed by the worker so far."
15374
15409
},
15375
-
"processRateMin": {
15376
-
"type": "number",
15377
-
"format": "float"
15410
+
"processedTasksLastMinute": {
15411
+
"type": "integer",
15412
+
"format": "int32",
15413
+
"description": "Number of tasks processed in the last minute."
15378
15414
},
15379
-
"failureRateMin": {
15380
-
"type": "number",
15381
-
"format": "float"
15415
+
"failureTasksLastMinute": {
15416
+
"type": "integer",
15417
+
"format": "int32",
15418
+
"description": "Number of failed tasks processed in the last minute."
0 commit comments