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: specification/cat/allocation/types.ts
+14-13Lines changed: 14 additions & 13 deletions
Original file line number
Diff line number
Diff line change
@@ -17,6 +17,7 @@
17
17
* under the License.
18
18
*/
19
19
20
+
import{Stringified}from'@spec_utils/Stringified'
20
21
import{ByteSize}from'@_types/common'
21
22
import{Host,Ip}from'@_types/Networking'
22
23
import{double,Percentage}from'@_types/Numeric'
@@ -26,73 +27,73 @@ export class AllocationRecord {
26
27
* Number of primary and replica shards assigned to the node.
27
28
* @aliases s
28
29
*/
29
-
shards: string
30
+
shards?: string
30
31
31
32
/**
32
33
* Amount of shards that are scheduled to be moved elsewhere in the cluster or -1 other than desired balance allocator is used
33
34
*/
34
-
'shards.undesired': string|null
35
+
'shards.undesired'?: string|null
35
36
36
37
/**
37
38
* Sum of index write load forecasts
38
39
* @aliases wlf,writeLoadForecast
39
40
*/
40
-
'write_load.forecast': double|null
41
+
'write_load.forecast'?: Stringified<double>|null
41
42
42
43
/**
43
44
* Sum of shard size forecasts
44
45
* @aliases dif,diskIndicesForecast
45
46
*/
46
-
'disk.indices.forecast': ByteSize|null
47
+
'disk.indices.forecast'?: ByteSize|null
47
48
/**
48
49
* Disk space used by the node’s shards. Does not include disk space for the translog or unassigned shards.
49
50
* IMPORTANT: This metric double-counts disk space for hard-linked files, such as those created when shrinking, splitting, or cloning an index.
50
51
* @aliases di,diskIndices
51
52
*/
52
-
'disk.indices': ByteSize|null
53
+
'disk.indices'?: ByteSize|null
53
54
/**
54
55
* Total disk space in use.
55
56
* Elasticsearch retrieves this metric from the node’s operating system (OS).
56
57
* The metric includes disk space for: Elasticsearch, including the translog and unassigned shards; the node’s operating system; any other applications or files on the node.
57
58
* Unlike `disk.indices`, this metric does not double-count disk space for hard-linked files.
58
59
* @aliases du,diskUsed
59
60
*/
60
-
'disk.used': ByteSize|null
61
+
'disk.used'?: ByteSize|null
61
62
/**
62
63
* Free disk space available to Elasticsearch.
63
64
* Elasticsearch retrieves this metric from the node’s operating system.
64
65
* Disk-based shard allocation uses this metric to assign shards to nodes based on available disk space.
65
66
* @aliases da,diskAvail
66
67
*/
67
-
'disk.avail': ByteSize|null
68
+
'disk.avail'?: ByteSize|null
68
69
/**
69
70
* Total disk space for the node, including in-use and available space.
70
71
* @aliases dt,diskTotal
71
72
*/
72
-
'disk.total': ByteSize|null
73
+
'disk.total'?: ByteSize|null
73
74
/**
74
75
* Total percentage of disk space in use. Calculated as `disk.used / disk.total`.
75
76
* @aliases dp,diskPercent
76
77
*/
77
-
'disk.percent': Percentage|null
78
+
'disk.percent'?: Percentage|null
78
79
/**
79
80
* Network host for the node. Set using the `network.host` setting.
80
81
* @aliases h
81
82
*/
82
-
host: Host|null
83
+
host?: Host|null
83
84
/**
84
85
* IP address and port for the node.
85
86
*/
86
-
ip: Ip|null
87
+
ip?: Ip|null
87
88
/**
88
89
* Name for the node. Set using the `node.name` setting.
0 commit comments