mirror of
https://github.com/vale981/ray
synced 2025-03-06 02:21:39 -05:00

Add optional last_activity_at field to /api/component_activities to record end time of most recently finished activity Signed-off-by: Nikita Vemuri <nikitavemuri@gmail.com>
26 lines
647 B
JSON
26 lines
647 B
JSON
{
|
|
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
"$id": "http://github.com/ray-project/ray/dashboard/modules/snapshot/component_activities_schema.json",
|
|
"type": "object",
|
|
"patternProperties": {
|
|
"[0-9a-f]*": {
|
|
"type": "object",
|
|
"properties": {
|
|
"is_active": {
|
|
"type": "string",
|
|
"enum": ["ACTIVE", "INACTIVE", "ERROR"]
|
|
},
|
|
"reason": {
|
|
"type": ["string", "null"]
|
|
},
|
|
"timestamp": {
|
|
"type": ["number"]
|
|
},
|
|
"last_activity_at": {
|
|
"type": ["number", "null"]
|
|
}
|
|
},
|
|
"required": ["is_active"]
|
|
}
|
|
}
|
|
}
|