@opensearch-project/opensearch 3.0.0-beta.9 → 3.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/api/OpenSearchApi.d.ts +126 -3
- package/api/_core/search.d.ts +2 -1
- package/api/_core/updateByQueryRethrottle.d.ts +1 -0
- package/api/_types/_common.analysis.d.ts +1 -1
- package/api/_types/_common.d.ts +19 -14
- package/api/_types/_global.d.ts +2 -1
- package/api/_types/{cat._common.d.ts → cat.segment_replication.d.ts} +1 -18
- package/api/_types/cat.snapshots.d.ts +1 -1
- package/api/_types/cluster.stats.d.ts +0 -18
- package/api/_types/index.d.ts +233 -0
- package/api/_types/indices._common.d.ts +1 -13
- package/api/_types/indices.analyze.d.ts +2 -1
- package/api/_types/indices.shard_stores.d.ts +2 -2
- package/api/_types/indices.stats.d.ts +3 -1
- package/api/_types/ingest._common.d.ts +3 -40
- package/api/_types/ml._common.d.ts +367 -11
- package/api/_types/nodes._common.d.ts +0 -631
- package/api/_types/nodes.info.d.ts +30 -25
- package/api/_types/nodes.reload_secure_settings.d.ts +8 -4
- package/api/_types/nodes.stats.d.ts +634 -4
- package/api/_types/nodes.usage.d.ts +1 -7
- package/api/cat/aliases.js +1 -1
- package/api/cat/allPitSegments.d.ts +2 -2
- package/api/cat/allPitSegments.js +6 -6
- package/api/cat/clusterManager.js +1 -1
- package/api/cat/count.js +5 -5
- package/api/cat/fielddata.js +6 -6
- package/api/cat/health.js +5 -5
- package/api/cat/indices.js +14 -14
- package/api/cat/master.js +7 -7
- package/api/cat/nodeattrs.js +7 -7
- package/api/cat/nodes.d.ts +1 -1
- package/api/cat/nodes.js +11 -11
- package/api/cat/pendingTasks.js +9 -9
- package/api/cat/pitSegments.d.ts +2 -2
- package/api/cat/pitSegments.js +6 -6
- package/api/cat/plugins.js +8 -8
- package/api/cat/recovery.js +8 -8
- package/api/cat/repositories.js +8 -8
- package/api/cat/segmentReplication.d.ts +2 -2
- package/api/cat/segmentReplication.js +18 -17
- package/api/cat/segments.js +8 -8
- package/api/cat/shards.js +10 -10
- package/api/cat/snapshots.js +9 -9
- package/api/cat/tasks.js +8 -8
- package/api/cat/templates.js +8 -8
- package/api/cat/threadPool.js +8 -8
- package/api/cluster/getComponentTemplate.d.ts +1 -0
- package/api/cluster/getComponentTemplate.js +1 -0
- package/api/cluster/reroute.d.ts +1 -2
- package/api/cluster/state.d.ts +1 -1
- package/api/cluster/stats.d.ts +9 -1
- package/api/index.d.ts +58 -2
- package/api/indices/addBlock.d.ts +1 -2
- package/api/indices/clone.d.ts +2 -3
- package/api/indices/close.d.ts +1 -2
- package/api/indices/putTemplate.d.ts +1 -1
- package/api/indices/rollover.d.ts +2 -3
- package/api/indices/shardStores.d.ts +1 -1
- package/api/indices/shrink.d.ts +2 -3
- package/api/indices/split.d.ts +1 -2
- package/api/indices/stats.d.ts +1 -1
- package/api/indices/upgrade.d.ts +3 -2
- package/api/indices/upgrade.js +0 -1
- package/api/ml/_api.js +80 -0
- package/api/ml/chunkModel.d.ts +37 -0
- package/api/ml/chunkModel.js +53 -0
- package/api/ml/createConnector.d.ts +1 -1
- package/api/ml/createMemory.d.ts +36 -0
- package/api/ml/createMemory.js +47 -0
- package/api/ml/createMessage.d.ts +42 -0
- package/api/ml/createMessage.js +50 -0
- package/api/ml/createModelMeta.d.ts +46 -0
- package/api/ml/createModelMeta.js +47 -0
- package/api/ml/deleteMemory.d.ts +31 -0
- package/api/ml/deleteMemory.js +49 -0
- package/api/ml/getConnector.d.ts +30 -0
- package/api/ml/getConnector.js +49 -0
- package/api/ml/getMemory.d.ts +36 -0
- package/api/ml/getMemory.js +49 -0
- package/api/ml/getMessage.d.ts +31 -0
- package/api/ml/getMessage.js +55 -0
- package/api/ml/getMessageTraces.d.ts +30 -0
- package/api/ml/getMessageTraces.js +49 -0
- package/api/ml/getModel.d.ts +30 -0
- package/api/ml/getModel.js +49 -0
- package/api/ml/loadModel.d.ts +33 -0
- package/api/ml/loadModel.js +49 -0
- package/api/ml/predict.d.ts +40 -0
- package/api/ml/predict.js +53 -0
- package/api/ml/predictModel.d.ts +36 -0
- package/api/ml/predictModel.js +50 -0
- package/api/ml/registerModel.d.ts +4 -3
- package/api/ml/registerModelMeta.d.ts +46 -0
- package/api/ml/registerModelMeta.js +47 -0
- package/api/ml/searchConnectors.d.ts +36 -0
- package/api/ml/searchConnectors.js +47 -0
- package/api/ml/searchMemory.d.ts +36 -0
- package/api/ml/searchMemory.js +47 -0
- package/api/ml/searchMessage.d.ts +37 -0
- package/api/ml/searchMessage.js +50 -0
- package/api/ml/searchModelGroup.d.ts +36 -0
- package/api/ml/searchModelGroup.js +47 -0
- package/api/ml/searchModels.d.ts +3 -2
- package/api/ml/searchModels.js +1 -1
- package/api/ml/train.d.ts +37 -0
- package/api/ml/train.js +50 -0
- package/api/ml/trainPredict.d.ts +38 -0
- package/api/ml/trainPredict.js +50 -0
- package/api/ml/undeployModel.d.ts +8 -1
- package/api/ml/undeployModel.js +5 -5
- package/api/ml/unloadModel.d.ts +37 -0
- package/api/ml/unloadModel.js +49 -0
- package/api/ml/updateConnector.d.ts +45 -0
- package/api/ml/updateConnector.js +50 -0
- package/api/ml/updateMemory.d.ts +35 -0
- package/api/ml/updateMemory.js +50 -0
- package/api/ml/updateMessage.d.ts +40 -0
- package/api/ml/updateMessage.js +50 -0
- package/api/ml/updateModel.d.ts +43 -0
- package/api/ml/updateModel.js +50 -0
- package/api/ml/updateModelGroup.d.ts +40 -0
- package/api/ml/updateModelGroup.js +50 -0
- package/api/ml/uploadChunk.d.ts +37 -0
- package/api/ml/uploadChunk.js +53 -0
- package/api/ml/uploadModel.d.ts +41 -0
- package/api/ml/uploadModel.js +47 -0
- package/api/nodes/info.d.ts +5 -1
- package/api/nodes/reloadSecureSettings.d.ts +5 -1
- package/api/nodes/stats.d.ts +5 -1
- package/api/nodes/usage.d.ts +5 -1
- package/api/tasks/cancel.d.ts +1 -1
- package/api/tasks/list.d.ts +1 -1
- package/index.d.ts +2 -0
- package/package.json +1 -1
|
@@ -15,641 +15,10 @@
|
|
|
15
15
|
*/
|
|
16
16
|
|
|
17
17
|
import * as Common from './_common'
|
|
18
|
-
import * as Indices_Stats from './indices.stats'
|
|
19
|
-
|
|
20
|
-
export type AdaptiveSelection = {
|
|
21
|
-
avg_queue_size?: number;
|
|
22
|
-
avg_response_time?: Common.Duration;
|
|
23
|
-
avg_response_time_ns?: number;
|
|
24
|
-
avg_service_time?: Common.Duration;
|
|
25
|
-
avg_service_time_ns?: number;
|
|
26
|
-
outgoing_searches?: number;
|
|
27
|
-
rank?: string;
|
|
28
|
-
}
|
|
29
|
-
|
|
30
|
-
export type Breaker = {
|
|
31
|
-
estimated_size?: Common.HumanReadableByteCount;
|
|
32
|
-
estimated_size_in_bytes?: Common.ByteCount;
|
|
33
|
-
limit_size?: Common.HumanReadableByteCount;
|
|
34
|
-
limit_size_in_bytes?: Common.ByteCount;
|
|
35
|
-
overhead?: number;
|
|
36
|
-
tripped?: number;
|
|
37
|
-
}
|
|
38
|
-
|
|
39
|
-
export type Cgroup = {
|
|
40
|
-
cpu?: CgroupCpu;
|
|
41
|
-
cpuacct?: CpuAcct;
|
|
42
|
-
memory?: CgroupMemory;
|
|
43
|
-
}
|
|
44
|
-
|
|
45
|
-
export type CgroupCpu = {
|
|
46
|
-
cfs_period_micros?: number;
|
|
47
|
-
cfs_quota_micros?: number;
|
|
48
|
-
control_group?: string;
|
|
49
|
-
stat?: CgroupCpuStat;
|
|
50
|
-
}
|
|
51
|
-
|
|
52
|
-
export type CgroupCpuStat = {
|
|
53
|
-
number_of_elapsed_periods?: number;
|
|
54
|
-
number_of_times_throttled?: number;
|
|
55
|
-
time_throttled_nanos?: Common.DurationValueUnitNanos;
|
|
56
|
-
}
|
|
57
|
-
|
|
58
|
-
export type CgroupMemory = {
|
|
59
|
-
control_group?: string;
|
|
60
|
-
limit_in_bytes?: string;
|
|
61
|
-
usage_in_bytes?: string;
|
|
62
|
-
}
|
|
63
|
-
|
|
64
|
-
export type Client = {
|
|
65
|
-
agent?: string;
|
|
66
|
-
closed_time_millis?: number;
|
|
67
|
-
id?: number;
|
|
68
|
-
last_request_time_millis?: number;
|
|
69
|
-
last_uri?: string;
|
|
70
|
-
local_address?: string;
|
|
71
|
-
opened_time_millis?: number;
|
|
72
|
-
remote_address?: string;
|
|
73
|
-
request_count?: number;
|
|
74
|
-
request_size_bytes?: Common.ByteCount;
|
|
75
|
-
x_opaque_id?: string;
|
|
76
|
-
}
|
|
77
|
-
|
|
78
|
-
export type ClusterAppliedStats = {
|
|
79
|
-
recordings?: Recording[];
|
|
80
|
-
}
|
|
81
|
-
|
|
82
|
-
export type ClusterStateOverallStats = {
|
|
83
|
-
failed_count?: number;
|
|
84
|
-
total_time_in_millis?: Common.DurationValueUnitMillis;
|
|
85
|
-
update_count?: number;
|
|
86
|
-
}
|
|
87
|
-
|
|
88
|
-
export type ClusterStateQueue = {
|
|
89
|
-
committed?: number;
|
|
90
|
-
pending?: number;
|
|
91
|
-
total?: number;
|
|
92
|
-
}
|
|
93
|
-
|
|
94
|
-
export type ClusterStateStats = {
|
|
95
|
-
overall?: ClusterStateOverallStats;
|
|
96
|
-
}
|
|
97
|
-
|
|
98
|
-
export type ClusterStateUpdate = {
|
|
99
|
-
commit_time?: Common.Duration;
|
|
100
|
-
commit_time_millis?: Common.DurationValueUnitMillis;
|
|
101
|
-
completion_time?: Common.Duration;
|
|
102
|
-
completion_time_millis?: Common.DurationValueUnitMillis;
|
|
103
|
-
computation_time?: Common.Duration;
|
|
104
|
-
computation_time_millis?: Common.DurationValueUnitMillis;
|
|
105
|
-
context_construction_time?: Common.Duration;
|
|
106
|
-
context_construction_time_millis?: Common.DurationValueUnitMillis;
|
|
107
|
-
count: number;
|
|
108
|
-
master_apply_time?: Common.Duration;
|
|
109
|
-
master_apply_time_millis?: Common.DurationValueUnitMillis;
|
|
110
|
-
notification_time?: Common.Duration;
|
|
111
|
-
notification_time_millis?: Common.DurationValueUnitMillis;
|
|
112
|
-
publication_time?: Common.Duration;
|
|
113
|
-
publication_time_millis?: Common.DurationValueUnitMillis;
|
|
114
|
-
}
|
|
115
|
-
|
|
116
|
-
export type Context = {
|
|
117
|
-
cache_evictions?: number;
|
|
118
|
-
compilation_limit_triggered?: number;
|
|
119
|
-
compilations?: number;
|
|
120
|
-
context?: string;
|
|
121
|
-
}
|
|
122
|
-
|
|
123
|
-
export type Cpu = {
|
|
124
|
-
load_average?: Record<string, number>;
|
|
125
|
-
percent?: Common.PercentageNumber;
|
|
126
|
-
sys?: Common.Duration;
|
|
127
|
-
sys_in_millis?: Common.DurationValueUnitMillis;
|
|
128
|
-
total?: Common.Duration;
|
|
129
|
-
total_in_millis?: Common.DurationValueUnitMillis;
|
|
130
|
-
user?: Common.Duration;
|
|
131
|
-
user_in_millis?: Common.DurationValueUnitMillis;
|
|
132
|
-
}
|
|
133
|
-
|
|
134
|
-
export type CpuAcct = {
|
|
135
|
-
control_group?: string;
|
|
136
|
-
usage_nanos?: Common.DurationValueUnitNanos;
|
|
137
|
-
}
|
|
138
|
-
|
|
139
|
-
export type DataPathStats = {
|
|
140
|
-
available?: Common.HumanReadableByteCount;
|
|
141
|
-
available_in_bytes?: Common.ByteCount;
|
|
142
|
-
cache_reserved?: Common.HumanReadableByteCount;
|
|
143
|
-
cache_reserved_in_bytes?: Common.ByteCount;
|
|
144
|
-
disk_queue?: string;
|
|
145
|
-
disk_read_size?: Common.HumanReadableByteCount;
|
|
146
|
-
disk_read_size_in_bytes?: Common.ByteCount;
|
|
147
|
-
disk_reads?: number;
|
|
148
|
-
disk_write_size?: Common.HumanReadableByteCount;
|
|
149
|
-
disk_write_size_in_bytes?: Common.ByteCount;
|
|
150
|
-
disk_writes?: number;
|
|
151
|
-
free?: Common.HumanReadableByteCount;
|
|
152
|
-
free_in_bytes?: Common.ByteCount;
|
|
153
|
-
mount?: string;
|
|
154
|
-
path?: string;
|
|
155
|
-
total?: Common.HumanReadableByteCount;
|
|
156
|
-
total_in_bytes?: Common.ByteCount;
|
|
157
|
-
type?: string;
|
|
158
|
-
}
|
|
159
|
-
|
|
160
|
-
export type Discovery = {
|
|
161
|
-
cluster_applier_stats?: ClusterAppliedStats;
|
|
162
|
-
cluster_state_queue?: ClusterStateQueue;
|
|
163
|
-
cluster_state_stats?: ClusterStateStats;
|
|
164
|
-
cluster_state_update?: Record<string, ClusterStateUpdate>;
|
|
165
|
-
published_cluster_states?: PublishedClusterStates;
|
|
166
|
-
serialized_cluster_states?: SerializedClusterState;
|
|
167
|
-
}
|
|
168
|
-
|
|
169
|
-
export type ExtendedMemoryStats = MemoryStats & {
|
|
170
|
-
free_percent?: Common.PercentageNumber;
|
|
171
|
-
used_percent?: Common.PercentageNumber;
|
|
172
|
-
}
|
|
173
|
-
|
|
174
|
-
export type FileSystem = {
|
|
175
|
-
data?: DataPathStats[];
|
|
176
|
-
io_stats?: IoStats;
|
|
177
|
-
timestamp?: number;
|
|
178
|
-
total?: FileSystemTotal;
|
|
179
|
-
}
|
|
180
|
-
|
|
181
|
-
export type FileSystemTotal = {
|
|
182
|
-
available?: Common.HumanReadableByteCount;
|
|
183
|
-
available_in_bytes?: Common.ByteCount;
|
|
184
|
-
cache_reserved?: Common.HumanReadableByteCount;
|
|
185
|
-
cache_reserved_in_bytes?: Common.ByteCount;
|
|
186
|
-
free?: Common.HumanReadableByteCount;
|
|
187
|
-
free_in_bytes?: Common.ByteCount;
|
|
188
|
-
total?: Common.HumanReadableByteCount;
|
|
189
|
-
total_in_bytes?: Common.ByteCount;
|
|
190
|
-
}
|
|
191
|
-
|
|
192
|
-
export type GarbageCollector = {
|
|
193
|
-
collectors?: Record<string, GarbageCollectorTotal>;
|
|
194
|
-
}
|
|
195
|
-
|
|
196
|
-
export type GarbageCollectorTotal = {
|
|
197
|
-
collection_count?: number;
|
|
198
|
-
collection_time?: string;
|
|
199
|
-
collection_time_in_millis?: number;
|
|
200
|
-
}
|
|
201
|
-
|
|
202
|
-
export type Http = {
|
|
203
|
-
clients?: Client[];
|
|
204
|
-
current_open?: number;
|
|
205
|
-
total_opened?: number;
|
|
206
|
-
}
|
|
207
|
-
|
|
208
|
-
export type IndexingPressure = {
|
|
209
|
-
memory?: IndexingPressureMemory;
|
|
210
|
-
}
|
|
211
|
-
|
|
212
|
-
export type IndexingPressureMemory = {
|
|
213
|
-
current?: PressureMemory;
|
|
214
|
-
limit?: Common.HumanReadableByteCount;
|
|
215
|
-
limit_in_bytes?: Common.ByteCount;
|
|
216
|
-
total?: PressureMemory;
|
|
217
|
-
}
|
|
218
|
-
|
|
219
|
-
export type Ingest = {
|
|
220
|
-
pipelines?: Record<string, IngestTotal>;
|
|
221
|
-
total?: IngestTotal;
|
|
222
|
-
}
|
|
223
|
-
|
|
224
|
-
export type IngestTotal = {
|
|
225
|
-
count?: number;
|
|
226
|
-
current?: number;
|
|
227
|
-
failed?: number;
|
|
228
|
-
processors?: Record<string, KeyedProcessor>[];
|
|
229
|
-
time?: Common.Duration;
|
|
230
|
-
time_in_millis?: Common.DurationValueUnitMillis;
|
|
231
|
-
}
|
|
232
|
-
|
|
233
|
-
export type IoStatDevice = {
|
|
234
|
-
device_name?: string;
|
|
235
|
-
io_time_in_millis?: Common.DurationValueUnitMillis;
|
|
236
|
-
operations?: number;
|
|
237
|
-
queue_size?: number;
|
|
238
|
-
read_kilobytes?: number;
|
|
239
|
-
read_operations?: number;
|
|
240
|
-
read_time?: number;
|
|
241
|
-
write_kilobytes?: number;
|
|
242
|
-
write_operations?: number;
|
|
243
|
-
write_time?: number;
|
|
244
|
-
}
|
|
245
|
-
|
|
246
|
-
export type IoStats = {
|
|
247
|
-
devices?: IoStatDevice[];
|
|
248
|
-
total?: IoStatDevice;
|
|
249
|
-
}
|
|
250
|
-
|
|
251
|
-
export type Jvm = {
|
|
252
|
-
buffer_pools?: Record<string, NodeBufferPool>;
|
|
253
|
-
classes?: JvmClasses;
|
|
254
|
-
gc?: GarbageCollector;
|
|
255
|
-
mem?: JvmMemoryStats;
|
|
256
|
-
threads?: JvmThreads;
|
|
257
|
-
timestamp?: number;
|
|
258
|
-
uptime?: string;
|
|
259
|
-
uptime_in_millis?: number;
|
|
260
|
-
}
|
|
261
|
-
|
|
262
|
-
export type JvmClasses = {
|
|
263
|
-
current_loaded_count?: number;
|
|
264
|
-
total_loaded_count?: number;
|
|
265
|
-
total_unloaded_count?: number;
|
|
266
|
-
}
|
|
267
|
-
|
|
268
|
-
export type JvmMemoryStats = {
|
|
269
|
-
heap_committed?: Common.HumanReadableByteCount;
|
|
270
|
-
heap_committed_in_bytes?: Common.ByteCount;
|
|
271
|
-
heap_max?: Common.HumanReadableByteCount;
|
|
272
|
-
heap_max_in_bytes?: Common.ByteCount;
|
|
273
|
-
heap_used?: Common.HumanReadableByteCount;
|
|
274
|
-
heap_used_in_bytes?: Common.ByteCount;
|
|
275
|
-
heap_used_percent?: Common.PercentageNumber;
|
|
276
|
-
non_heap_committed?: Common.HumanReadableByteCount;
|
|
277
|
-
non_heap_committed_in_bytes?: Common.ByteCount;
|
|
278
|
-
non_heap_used?: Common.HumanReadableByteCount;
|
|
279
|
-
non_heap_used_in_bytes?: Common.ByteCount;
|
|
280
|
-
pools?: Record<string, Pool>;
|
|
281
|
-
}
|
|
282
|
-
|
|
283
|
-
export type JvmThreads = {
|
|
284
|
-
count?: number;
|
|
285
|
-
peak_count?: number;
|
|
286
|
-
}
|
|
287
|
-
|
|
288
|
-
export type KeyedProcessor = {
|
|
289
|
-
stats?: Processor;
|
|
290
|
-
type?: string;
|
|
291
|
-
}
|
|
292
|
-
|
|
293
|
-
export type LastGcStats = {
|
|
294
|
-
max?: Common.HumanReadableByteCount;
|
|
295
|
-
max_in_bytes?: Common.ByteCount;
|
|
296
|
-
usage_percent?: Common.PercentageNumber;
|
|
297
|
-
used?: Common.HumanReadableByteCount;
|
|
298
|
-
used_in_bytes?: Common.ByteCount;
|
|
299
|
-
}
|
|
300
|
-
|
|
301
|
-
export type MemoryStats = {
|
|
302
|
-
adjusted_total_in_bytes?: Common.ByteCount;
|
|
303
|
-
free?: Common.HumanReadableByteCount;
|
|
304
|
-
free_in_bytes?: Common.ByteCount;
|
|
305
|
-
resident?: Common.HumanReadableByteCount;
|
|
306
|
-
resident_in_bytes?: Common.ByteCount;
|
|
307
|
-
share?: Common.HumanReadableByteCount;
|
|
308
|
-
share_in_bytes?: Common.ByteCount;
|
|
309
|
-
total?: Common.HumanReadableByteCount;
|
|
310
|
-
total_in_bytes?: Common.ByteCount;
|
|
311
|
-
total_virtual?: Common.HumanReadableByteCount;
|
|
312
|
-
total_virtual_in_bytes?: Common.ByteCount;
|
|
313
|
-
used?: Common.HumanReadableByteCount;
|
|
314
|
-
used_in_bytes?: Common.ByteCount;
|
|
315
|
-
}
|
|
316
|
-
|
|
317
|
-
export type NodeBufferPool = {
|
|
318
|
-
count?: number;
|
|
319
|
-
total_capacity?: Common.HumanReadableByteCount;
|
|
320
|
-
total_capacity_in_bytes?: Common.ByteCount;
|
|
321
|
-
used?: Common.HumanReadableByteCount;
|
|
322
|
-
used_in_bytes?: Common.ByteCount;
|
|
323
|
-
}
|
|
324
|
-
|
|
325
|
-
export type NodeReloadError = NodeReloadResponse & {
|
|
326
|
-
reload_exception?: Common.ErrorCause;
|
|
327
|
-
}
|
|
328
|
-
|
|
329
|
-
export type NodeReloadResponse = {
|
|
330
|
-
name: Common.Name;
|
|
331
|
-
}
|
|
332
|
-
|
|
333
|
-
export type NodeReloadResult = NodeReloadResponse | NodeReloadError
|
|
334
18
|
|
|
335
19
|
export type NodesResponseBase = {
|
|
336
20
|
_nodes?: Common.NodeStatistics;
|
|
337
21
|
}
|
|
338
22
|
|
|
339
|
-
export type OperatingSystem = {
|
|
340
|
-
cgroup?: Cgroup;
|
|
341
|
-
cpu?: Cpu;
|
|
342
|
-
mem?: ExtendedMemoryStats;
|
|
343
|
-
swap?: MemoryStats;
|
|
344
|
-
timestamp?: number;
|
|
345
|
-
}
|
|
346
|
-
|
|
347
|
-
export type Pool = {
|
|
348
|
-
last_gc_stats?: LastGcStats;
|
|
349
|
-
max?: Common.HumanReadableByteCount;
|
|
350
|
-
max_in_bytes?: Common.ByteCount;
|
|
351
|
-
peak_max?: Common.HumanReadableByteCount;
|
|
352
|
-
peak_max_in_bytes?: Common.ByteCount;
|
|
353
|
-
peak_used?: Common.HumanReadableByteCount;
|
|
354
|
-
peak_used_in_bytes?: Common.ByteCount;
|
|
355
|
-
used?: Common.HumanReadableByteCount;
|
|
356
|
-
used_in_bytes?: Common.ByteCount;
|
|
357
|
-
}
|
|
358
|
-
|
|
359
|
-
export type PressureMemory = {
|
|
360
|
-
all?: Common.HumanReadableByteCount;
|
|
361
|
-
all_in_bytes?: Common.ByteCount;
|
|
362
|
-
combined_coordinating_and_primary?: Common.HumanReadableByteCount;
|
|
363
|
-
combined_coordinating_and_primary_in_bytes?: Common.ByteCount;
|
|
364
|
-
coordinating?: Common.HumanReadableByteCount;
|
|
365
|
-
coordinating_in_bytes?: Common.ByteCount;
|
|
366
|
-
coordinating_rejections?: number;
|
|
367
|
-
primary?: Common.HumanReadableByteCount;
|
|
368
|
-
primary_in_bytes?: Common.ByteCount;
|
|
369
|
-
primary_rejections?: number;
|
|
370
|
-
replica?: Common.HumanReadableByteCount;
|
|
371
|
-
replica_in_bytes?: Common.ByteCount;
|
|
372
|
-
replica_rejections?: number;
|
|
373
|
-
}
|
|
374
|
-
|
|
375
|
-
export type Process = {
|
|
376
|
-
cpu?: Cpu;
|
|
377
|
-
max_file_descriptors?: number;
|
|
378
|
-
mem?: MemoryStats;
|
|
379
|
-
open_file_descriptors?: number;
|
|
380
|
-
timestamp?: number;
|
|
381
|
-
}
|
|
382
|
-
|
|
383
|
-
export type Processor = {
|
|
384
|
-
count?: number;
|
|
385
|
-
current?: number;
|
|
386
|
-
failed?: number;
|
|
387
|
-
time?: Common.Duration;
|
|
388
|
-
time_in_millis?: Common.DurationValueUnitMillis;
|
|
389
|
-
}
|
|
390
|
-
|
|
391
|
-
export type PublishedClusterStates = {
|
|
392
|
-
compatible_diffs?: number;
|
|
393
|
-
full_states?: number;
|
|
394
|
-
incompatible_diffs?: number;
|
|
395
|
-
}
|
|
396
|
-
|
|
397
|
-
export type Recording = {
|
|
398
|
-
cumulative_execution_count?: number;
|
|
399
|
-
cumulative_execution_time?: Common.Duration;
|
|
400
|
-
cumulative_execution_time_millis?: Common.DurationValueUnitMillis;
|
|
401
|
-
name?: string;
|
|
402
|
-
}
|
|
403
|
-
|
|
404
|
-
export type RemoteStoreStats = {
|
|
405
|
-
last_successful_fetch_of_pinned_timestamps?: Common.StringifiedEpochTimeUnitSeconds;
|
|
406
|
-
}
|
|
407
|
-
|
|
408
23
|
export type SampleType = 'block' | 'cpu' | 'wait'
|
|
409
24
|
|
|
410
|
-
export type ScriptCache = {
|
|
411
|
-
cache_evictions?: number;
|
|
412
|
-
compilation_limit_triggered?: number;
|
|
413
|
-
compilations?: number;
|
|
414
|
-
context?: string;
|
|
415
|
-
}
|
|
416
|
-
|
|
417
|
-
export type Scripting = {
|
|
418
|
-
cache_evictions?: number;
|
|
419
|
-
compilation_limit_triggered?: number;
|
|
420
|
-
compilations?: number;
|
|
421
|
-
compilations_history?: Record<string, number>;
|
|
422
|
-
contexts?: Context[];
|
|
423
|
-
}
|
|
424
|
-
|
|
425
|
-
export type SerializedClusterState = {
|
|
426
|
-
diffs?: SerializedClusterStateDetail;
|
|
427
|
-
full_states?: SerializedClusterStateDetail;
|
|
428
|
-
}
|
|
429
|
-
|
|
430
|
-
export type SerializedClusterStateDetail = {
|
|
431
|
-
compressed_size?: Common.HumanReadableByteCount;
|
|
432
|
-
compressed_size_in_bytes?: Common.ByteCount;
|
|
433
|
-
count?: number;
|
|
434
|
-
uncompressed_size?: Common.HumanReadableByteCount;
|
|
435
|
-
uncompressed_size_in_bytes?: Common.ByteCount;
|
|
436
|
-
}
|
|
437
|
-
|
|
438
|
-
export type ShardAdmissionControlStats = {
|
|
439
|
-
global_cpu_usage?: UsageStats;
|
|
440
|
-
global_io_usage?: UsageStats;
|
|
441
|
-
}
|
|
442
|
-
|
|
443
|
-
export type ShardCachesStats = Record<string, ShardCacheStats>
|
|
444
|
-
|
|
445
|
-
export type ShardCacheStats = {
|
|
446
|
-
evictions?: number;
|
|
447
|
-
hit_count?: number;
|
|
448
|
-
item_count?: number;
|
|
449
|
-
miss_count?: number;
|
|
450
|
-
size?: Common.HumanReadableByteCount;
|
|
451
|
-
size_in_bytes?: Common.ByteCount;
|
|
452
|
-
store_name?: string;
|
|
453
|
-
}
|
|
454
|
-
|
|
455
|
-
export type ShardClusterManagerThrottlingStats = {
|
|
456
|
-
stats?: ShardClusterManagerThrottlingStatsDetail;
|
|
457
|
-
}
|
|
458
|
-
|
|
459
|
-
export type ShardClusterManagerThrottlingStatsDetail = {
|
|
460
|
-
throttled_tasks_per_task_type?: Record<string, any>;
|
|
461
|
-
total_throttled_tasks?: number;
|
|
462
|
-
}
|
|
463
|
-
|
|
464
|
-
export type ShardIndexingPressureStats = {
|
|
465
|
-
enabled?: boolean;
|
|
466
|
-
enforced?: boolean;
|
|
467
|
-
stats?: Record<string, any>;
|
|
468
|
-
total_rejections_breakup?: TotalRejectionsBreakup;
|
|
469
|
-
total_rejections_breakup_shadow_mode?: TotalRejectionsBreakup;
|
|
470
|
-
}
|
|
471
|
-
|
|
472
|
-
export type ShardRepositoriesStats = any[]
|
|
473
|
-
|
|
474
|
-
export type ShardResourceUsageStats = Record<string, ShardResourceUsageStatsDetail>
|
|
475
|
-
|
|
476
|
-
export type ShardResourceUsageStatsDetail = {
|
|
477
|
-
cpu_utilization_percent?: Common.PercentageString;
|
|
478
|
-
io_usage_stats?: ShardResourceUsageStatsIoUsageStats;
|
|
479
|
-
memory_utilization_percent?: Common.PercentageString;
|
|
480
|
-
timestamp?: number;
|
|
481
|
-
}
|
|
482
|
-
|
|
483
|
-
export type ShardResourceUsageStatsIoUsageStats = {
|
|
484
|
-
max_io_utilization_percent?: Common.PercentageString;
|
|
485
|
-
}
|
|
486
|
-
|
|
487
|
-
export type ShardSearchBackpressureMode = 'disabled' | 'enforced' | 'monitor_only'
|
|
488
|
-
|
|
489
|
-
export type ShardSearchBackpressureStats = {
|
|
490
|
-
mode?: ShardSearchBackpressureMode;
|
|
491
|
-
search_shard_task?: ShardSearchBackpressureTaskStats;
|
|
492
|
-
search_task?: ShardSearchBackpressureTaskStats;
|
|
493
|
-
}
|
|
494
|
-
|
|
495
|
-
export type ShardSearchBackpressureTaskCancellationStats = {
|
|
496
|
-
cancellation_count?: number;
|
|
497
|
-
cancellation_limit_reached_count?: number;
|
|
498
|
-
cancelled_task_percentage?: Common.PercentageNumber;
|
|
499
|
-
current_cancellation_eligible_tasks_count?: number;
|
|
500
|
-
}
|
|
501
|
-
|
|
502
|
-
export type ShardSearchBackpressureTaskResourceTrackerCpuUsageTrackerStats = {
|
|
503
|
-
cancellation_count?: number;
|
|
504
|
-
current_avg?: Common.Duration;
|
|
505
|
-
current_avg_millis?: Common.DurationValueUnitMillis;
|
|
506
|
-
current_max?: Common.Duration;
|
|
507
|
-
current_max_millis?: Common.DurationValueUnitMillis;
|
|
508
|
-
}
|
|
509
|
-
|
|
510
|
-
export type ShardSearchBackpressureTaskResourceTrackerElapsedTimeTrackerStats = {
|
|
511
|
-
cancellation_count?: number;
|
|
512
|
-
current_avg?: Common.Duration;
|
|
513
|
-
current_avg_millis?: Common.DurationValueUnitMillis;
|
|
514
|
-
current_max?: Common.Duration;
|
|
515
|
-
current_max_millis?: Common.DurationValueUnitMillis;
|
|
516
|
-
}
|
|
517
|
-
|
|
518
|
-
export type ShardSearchBackpressureTaskResourceTrackerHeapUsageTrackerStats = {
|
|
519
|
-
cancellation_count?: number;
|
|
520
|
-
current_avg?: Common.HumanReadableByteCount;
|
|
521
|
-
current_avg_bytes?: Common.ByteCount;
|
|
522
|
-
current_max?: Common.HumanReadableByteCount;
|
|
523
|
-
current_max_bytes?: Common.ByteCount;
|
|
524
|
-
rolling_avg?: Common.HumanReadableByteCount;
|
|
525
|
-
rolling_avg_bytes?: Common.ByteCount;
|
|
526
|
-
}
|
|
527
|
-
|
|
528
|
-
export type ShardSearchBackpressureTaskResourceTrackerStats = {
|
|
529
|
-
cpu_usage_tracker?: ShardSearchBackpressureTaskResourceTrackerCpuUsageTrackerStats;
|
|
530
|
-
elapsed_time_tracker?: ShardSearchBackpressureTaskResourceTrackerElapsedTimeTrackerStats;
|
|
531
|
-
heap_usage_tracker?: ShardSearchBackpressureTaskResourceTrackerHeapUsageTrackerStats;
|
|
532
|
-
}
|
|
533
|
-
|
|
534
|
-
export type ShardSearchBackpressureTaskStats = {
|
|
535
|
-
cancellation_stats?: ShardSearchBackpressureTaskCancellationStats;
|
|
536
|
-
completion_count?: number;
|
|
537
|
-
resource_tracker_stats?: ShardSearchBackpressureTaskResourceTrackerStats;
|
|
538
|
-
}
|
|
539
|
-
|
|
540
|
-
export type ShardSearchPipelineStats = {
|
|
541
|
-
pipelines?: Record<string, any>;
|
|
542
|
-
total_request?: ShardSearchPipelineTotalStats;
|
|
543
|
-
total_response?: ShardSearchPipelineTotalStats;
|
|
544
|
-
}
|
|
545
|
-
|
|
546
|
-
export type ShardSearchPipelineTotalStats = {
|
|
547
|
-
count?: number;
|
|
548
|
-
current?: number;
|
|
549
|
-
failed?: number;
|
|
550
|
-
time?: Common.Duration;
|
|
551
|
-
time_in_millis?: Common.DurationValueUnitMillis;
|
|
552
|
-
}
|
|
553
|
-
|
|
554
|
-
export type ShardSegmentReplicationBackpressureStats = {
|
|
555
|
-
total_rejected_requests?: number;
|
|
556
|
-
}
|
|
557
|
-
|
|
558
|
-
export type ShardTaskCancellationStats = {
|
|
559
|
-
search_shard_task?: ShardTaskCancellationStatsDetail;
|
|
560
|
-
}
|
|
561
|
-
|
|
562
|
-
export type ShardTaskCancellationStatsDetail = {
|
|
563
|
-
current_count_post_cancel?: number;
|
|
564
|
-
total_count_post_cancel?: number;
|
|
565
|
-
}
|
|
566
|
-
|
|
567
|
-
export type ShardWeightedRoutingStats = {
|
|
568
|
-
stats?: ShardWeightedRoutingStatsDetail;
|
|
569
|
-
}
|
|
570
|
-
|
|
571
|
-
export type ShardWeightedRoutingStatsDetail = {
|
|
572
|
-
fail_open_count?: number;
|
|
573
|
-
}
|
|
574
|
-
|
|
575
|
-
export type Stats = {
|
|
576
|
-
adaptive_selection?: Record<string, AdaptiveSelection>;
|
|
577
|
-
admission_control?: ShardAdmissionControlStats;
|
|
578
|
-
attributes?: Record<string, string>;
|
|
579
|
-
breakers?: Record<string, Breaker>;
|
|
580
|
-
caches?: ShardCachesStats;
|
|
581
|
-
cluster_manager_throttling?: ShardClusterManagerThrottlingStats;
|
|
582
|
-
discovery?: Discovery;
|
|
583
|
-
fs?: FileSystem;
|
|
584
|
-
host?: Common.Host;
|
|
585
|
-
http?: Http;
|
|
586
|
-
indexing_pressure?: IndexingPressure;
|
|
587
|
-
indices?: Indices_Stats.IndexShardStats;
|
|
588
|
-
ingest?: Ingest;
|
|
589
|
-
ip?: Common.Ip | Common.Ip[];
|
|
590
|
-
jvm?: Jvm;
|
|
591
|
-
name?: Common.Name;
|
|
592
|
-
os?: OperatingSystem;
|
|
593
|
-
process?: Process;
|
|
594
|
-
remote_store?: RemoteStoreStats;
|
|
595
|
-
repositories?: ShardRepositoriesStats;
|
|
596
|
-
resource_usage_stats?: ShardResourceUsageStats;
|
|
597
|
-
roles?: Common.NodeRoles;
|
|
598
|
-
script?: Scripting;
|
|
599
|
-
script_cache?: Record<string, ScriptCache | ScriptCache[]>;
|
|
600
|
-
search_backpressure?: ShardSearchBackpressureStats;
|
|
601
|
-
search_pipeline?: ShardSearchPipelineStats;
|
|
602
|
-
segment_replication_backpressure?: ShardSegmentReplicationBackpressureStats;
|
|
603
|
-
shard_indexing_pressure?: ShardIndexingPressureStats;
|
|
604
|
-
task_cancellation?: ShardTaskCancellationStats;
|
|
605
|
-
thread_pool?: Record<string, ThreadCount>;
|
|
606
|
-
timestamp?: number;
|
|
607
|
-
transport?: Transport;
|
|
608
|
-
transport_address?: Common.TransportAddress;
|
|
609
|
-
weighted_routing?: ShardWeightedRoutingStats;
|
|
610
|
-
}
|
|
611
|
-
|
|
612
|
-
export type ThreadCount = {
|
|
613
|
-
active?: number;
|
|
614
|
-
completed?: number;
|
|
615
|
-
largest?: number;
|
|
616
|
-
queue?: number;
|
|
617
|
-
rejected?: number;
|
|
618
|
-
threads?: number;
|
|
619
|
-
total_wait_time?: Common.Duration;
|
|
620
|
-
total_wait_time_in_nanos?: number;
|
|
621
|
-
}
|
|
622
|
-
|
|
623
|
-
export type TotalRejectionsBreakup = {
|
|
624
|
-
no_successful_request_limits?: number;
|
|
625
|
-
node_limits?: number;
|
|
626
|
-
throughput_degradation_limits?: number;
|
|
627
|
-
}
|
|
628
|
-
|
|
629
|
-
export type Transport = {
|
|
630
|
-
inbound_handling_time_histogram?: TransportHistogram[];
|
|
631
|
-
outbound_handling_time_histogram?: TransportHistogram[];
|
|
632
|
-
rx_count?: number;
|
|
633
|
-
rx_size?: Common.HumanReadableByteCount;
|
|
634
|
-
rx_size_in_bytes?: Common.ByteCount;
|
|
635
|
-
server_open?: number;
|
|
636
|
-
total_outbound_connections?: number;
|
|
637
|
-
tx_count?: number;
|
|
638
|
-
tx_size?: Common.HumanReadableByteCount;
|
|
639
|
-
tx_size_in_bytes?: Common.ByteCount;
|
|
640
|
-
}
|
|
641
|
-
|
|
642
|
-
export type TransportHistogram = {
|
|
643
|
-
count?: number;
|
|
644
|
-
ge_millis?: number;
|
|
645
|
-
lt_millis?: number;
|
|
646
|
-
}
|
|
647
|
-
|
|
648
|
-
export type TransportUsageStats = {
|
|
649
|
-
rejection_count?: Record<string, any>;
|
|
650
|
-
}
|
|
651
|
-
|
|
652
|
-
export type UsageStats = {
|
|
653
|
-
transport?: TransportUsageStats;
|
|
654
|
-
}
|
|
655
|
-
|