Skip to content

Commit 646a4cc

Browse files
committed
WIP: temporary changes for cat-h-values
1 parent ef9f1da commit 646a4cc

File tree

1 file changed

+79
-0
lines changed

1 file changed

+79
-0
lines changed

specification/cat/_types/CatBase.ts

Lines changed: 79 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1471,6 +1471,85 @@ export enum CatFieldDataColumn {
14711471
size
14721472
}
14731473

1474+
/** @non_exhaustive */
1475+
export enum CatHealthColumn {
1476+
/**
1477+
* The number of seconds since 1970-01-01 00:00:00.
1478+
* @aliases t, time
1479+
*/
1480+
epoch,
1481+
/**
1482+
* The time in HH:MM:SS format.
1483+
* @aliases ts, hms, hhmmss
1484+
*/
1485+
timestamp,
1486+
/**
1487+
* The cluster name.
1488+
* @aliases cl
1489+
*/
1490+
cluster,
1491+
/**
1492+
* The health status.
1493+
* @aliases st
1494+
*/
1495+
status,
1496+
/**
1497+
* The total number of nodes.
1498+
* @aliases nt, nodeTotal
1499+
*/
1500+
'node.total',
1501+
/**
1502+
* The number of nodes that can store data.
1503+
* @aliases nd, nodeData
1504+
*/
1505+
'node.data',
1506+
/**
1507+
* The total number of shards.
1508+
* @aliases t, sh, shards.total, shardsTotal
1509+
*/
1510+
shards,
1511+
/**
1512+
* The number of primary shards.
1513+
* @aliases p, shards.primary, shardsPrimary
1514+
*/
1515+
pri,
1516+
/**
1517+
* The number of relocating nodes.
1518+
* @aliases r, shards.relocating, shardsRelocating
1519+
*/
1520+
relo,
1521+
/**
1522+
* The number of initializing nodes.
1523+
* @aliases i, shards.initializing, shardsInitializing
1524+
*/
1525+
init,
1526+
/**
1527+
* The number of unassigned shards.
1528+
* @aliases u, shards.unassigned, shardsUnassigned
1529+
*/
1530+
unassign,
1531+
/**
1532+
* The number of unassigned primary shards.
1533+
* @aliases up, shards.unassigned.primary, shardsUnassignedPrimary
1534+
*/
1535+
'unassign.pri',
1536+
/**
1537+
* The number of pending tasks.
1538+
* @aliases pt, pendingTasks
1539+
*/
1540+
pending_tasks,
1541+
/**
1542+
* The wait time of the longest pending task.
1543+
* @aliases mtwt, maxTaskWaitTime
1544+
*/
1545+
max_task_wait_time,
1546+
/**
1547+
* The percentage of active shards.
1548+
* @aliases asp, activeShardsPercent
1549+
*/
1550+
active_shards_percent
1551+
}
1552+
14741553
export type CatDfaColumns = CatDfaColumn | CatDfaColumn[]
14751554
export type CatDatafeedColumns = CatDatafeedColumn | CatDatafeedColumn[]
14761555
export type CatNodeColumns = CatNodeColumn | CatNodeColumn[]

0 commit comments

Comments
 (0)