forked from opensearch-project/opensearch-api-specification
-
Notifications
You must be signed in to change notification settings - Fork 0
/
nodes.info.yaml
713 lines (713 loc) · 19.3 KB
/
nodes.info.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
openapi: 3.1.0
info:
title: Schemas of nodes.info category
description: Schemas of nodes.info category
version: 1.0.0
paths: {}
components:
schemas:
Metric:
type: string
enum:
- _all
- aggregations
- http
- indices
- ingest
- jvm
- os
- plugins
- process
- search_pipelines
- settings
- thread_pool
- transport
ResponseBase:
allOf:
- $ref: 'nodes._common.yaml#/components/schemas/NodesResponseBase'
- type: object
properties:
cluster_name:
$ref: '_common.yaml#/components/schemas/Name'
nodes:
type: object
additionalProperties:
$ref: '#/components/schemas/NodeInfo'
required:
- cluster_name
- nodes
NodeInfo:
type: object
properties:
attributes:
type: object
additionalProperties:
type: string
build_flavor:
type: string
build_hash:
description: Short hash of the last git commit in this release.
type: string
build_type:
type: string
host:
$ref: '_common.yaml#/components/schemas/Host'
http:
$ref: '#/components/schemas/NodeInfoHttp'
ip:
$ref: '_common.yaml#/components/schemas/Ip'
jvm:
$ref: '#/components/schemas/NodeJvmInfo'
name:
$ref: '_common.yaml#/components/schemas/Name'
network:
$ref: '#/components/schemas/NodeInfoNetwork'
os:
$ref: '#/components/schemas/NodeOperatingSystemInfo'
plugins:
type: array
items:
$ref: '_common.yaml#/components/schemas/PluginStats'
process:
$ref: '#/components/schemas/NodeProcessInfo'
roles:
$ref: '_common.yaml#/components/schemas/NodeRoles'
settings:
$ref: '#/components/schemas/NodeInfoSettings'
thread_pool:
type: object
additionalProperties:
$ref: '#/components/schemas/NodeThreadPoolInfo'
total_indexing_buffer:
description: Total heap allowed to be used to hold recently indexed documents before they must be written to disk. This size is a shared pool across all shards on this node, and is controlled by Indexing Buffer settings.
type: number
total_indexing_buffer_in_bytes:
$ref: '_common.yaml#/components/schemas/ByteSize'
transport:
$ref: '#/components/schemas/NodeInfoTransport'
transport_address:
$ref: '_common.yaml#/components/schemas/TransportAddress'
version:
$ref: '_common.yaml#/components/schemas/VersionString'
modules:
type: array
items:
$ref: '_common.yaml#/components/schemas/PluginStats'
ingest:
$ref: '#/components/schemas/NodeInfoIngest'
aggregations:
type: object
additionalProperties:
$ref: '#/components/schemas/NodeInfoAggregation'
search_pipelines:
$ref: '#/components/schemas/NodeInfoSearchPipelines'
required:
- attributes
- build_hash
- build_type
- host
- ip
- name
- roles
- transport_address
- version
NodeInfoHttp:
type: object
properties:
bound_address:
type: array
items:
type: string
max_content_length:
$ref: '_common.yaml#/components/schemas/ByteSize'
max_content_length_in_bytes:
type: number
publish_address:
type: string
required:
- bound_address
- max_content_length_in_bytes
- publish_address
NodeJvmInfo:
type: object
properties:
gc_collectors:
type: array
items:
type: string
mem:
$ref: '#/components/schemas/NodeInfoJvmMemory'
memory_pools:
type: array
items:
type: string
pid:
type: number
start_time_in_millis:
$ref: '_common.yaml#/components/schemas/EpochTimeUnitMillis'
version:
$ref: '_common.yaml#/components/schemas/VersionString'
vm_name:
$ref: '_common.yaml#/components/schemas/Name'
vm_vendor:
type: string
vm_version:
$ref: '_common.yaml#/components/schemas/VersionString'
bundled_jdk:
type: boolean
using_bundled_jdk:
type: boolean
using_compressed_ordinary_object_pointers:
oneOf:
- type: boolean
- type: string
input_arguments:
type: array
items:
type: string
required:
- bundled_jdk
- gc_collectors
- input_arguments
- mem
- memory_pools
- pid
- start_time_in_millis
- version
- vm_name
- vm_vendor
- vm_version
NodeInfoJvmMemory:
type: object
properties:
direct_max:
$ref: '_common.yaml#/components/schemas/ByteSize'
direct_max_in_bytes:
type: number
heap_init:
$ref: '_common.yaml#/components/schemas/ByteSize'
heap_init_in_bytes:
type: number
heap_max:
$ref: '_common.yaml#/components/schemas/ByteSize'
heap_max_in_bytes:
type: number
non_heap_init:
$ref: '_common.yaml#/components/schemas/ByteSize'
non_heap_init_in_bytes:
type: number
non_heap_max:
$ref: '_common.yaml#/components/schemas/ByteSize'
non_heap_max_in_bytes:
type: number
required:
- direct_max_in_bytes
- heap_init_in_bytes
- heap_max_in_bytes
- non_heap_init_in_bytes
- non_heap_max_in_bytes
NodeInfoNetwork:
type: object
properties:
primary_interface:
$ref: '#/components/schemas/NodeInfoNetworkInterface'
refresh_interval:
type: number
required:
- primary_interface
- refresh_interval
NodeInfoNetworkInterface:
type: object
properties:
address:
type: string
mac_address:
type: string
name:
$ref: '_common.yaml#/components/schemas/Name'
required:
- address
- mac_address
- name
NodeOperatingSystemInfo:
type: object
properties:
arch:
description: 'Name of the JVM architecture (ex: amd64, x86)'
type: string
available_processors:
description: Number of processors available to the Java virtual machine
type: number
allocated_processors:
description: The number of processors actually used to calculate thread pool size. This number can be set with the node.processors setting of a node and defaults to the number of processors reported by the OS.
type: number
name:
$ref: '_common.yaml#/components/schemas/Name'
pretty_name:
$ref: '_common.yaml#/components/schemas/Name'
refresh_interval_in_millis:
$ref: '_common.yaml#/components/schemas/DurationValueUnitMillis'
version:
$ref: '_common.yaml#/components/schemas/VersionString'
cpu:
$ref: '#/components/schemas/NodeInfoOSCPU'
mem:
$ref: '#/components/schemas/NodeInfoMemory'
swap:
$ref: '#/components/schemas/NodeInfoMemory'
required:
- arch
- available_processors
- name
- pretty_name
- refresh_interval_in_millis
- version
NodeInfoOSCPU:
type: object
properties:
cache_size:
type: string
cache_size_in_bytes:
type: number
cores_per_socket:
type: number
mhz:
type: number
model:
type: string
total_cores:
type: number
total_sockets:
type: number
vendor:
type: string
required:
- cache_size
- cache_size_in_bytes
- cores_per_socket
- mhz
- model
- total_cores
- total_sockets
- vendor
NodeInfoMemory:
type: object
properties:
total:
type: string
total_in_bytes:
type: number
required:
- total
- total_in_bytes
NodeProcessInfo:
type: object
properties:
id:
description: Process identifier (PID)
type: number
mlockall:
description: Indicates if the process address space has been successfully locked in memory
type: boolean
refresh_interval_in_millis:
$ref: '_common.yaml#/components/schemas/DurationValueUnitMillis'
required:
- id
- mlockall
- refresh_interval_in_millis
NodeInfoSettings:
type: object
properties:
cluster:
$ref: '#/components/schemas/NodeInfoSettingsCluster'
node:
$ref: '#/components/schemas/NodeInfoSettingsNode'
path:
$ref: '#/components/schemas/NodeInfoPath'
repositories:
$ref: '#/components/schemas/NodeInfoRepositories'
discovery:
$ref: '#/components/schemas/NodeInfoDiscovery'
action:
$ref: '#/components/schemas/NodeInfoAction'
client:
$ref: '#/components/schemas/NodeInfoClient'
http:
$ref: '#/components/schemas/NodeInfoSettingsHttp'
bootstrap:
$ref: '#/components/schemas/NodeInfoBootstrap'
transport:
$ref: '#/components/schemas/NodeInfoSettingsTransport'
network:
$ref: '#/components/schemas/NodeInfoSettingsNetwork'
script:
$ref: '#/components/schemas/NodeInfoScript'
search:
$ref: '#/components/schemas/NodeInfoSearch'
ingest:
$ref: '#/components/schemas/NodeInfoSettingsIngest'
index:
$ref: '#/components/schemas/NodeInfoSettingsIndex'
plugins:
$ref: '#/components/schemas/NodeInfoSettingsPlugins'
required:
- client
- cluster
- http
- node
- path
- transport
NodeInfoSettingsCluster:
type: object
properties:
name:
$ref: '_common.yaml#/components/schemas/Name'
routing:
$ref: 'indices._common.yaml#/components/schemas/IndexRouting'
election:
$ref: '#/components/schemas/NodeInfoSettingsClusterElection'
initial_cluster_manager_nodes:
type: string
initial_master_nodes:
type: string
deprecation_indexing:
$ref: '#/components/schemas/DeprecationIndexing'
required:
- name
NodeInfoSettingsClusterElection:
type: object
properties:
strategy:
$ref: '_common.yaml#/components/schemas/Name'
required:
- strategy
DeprecationIndexing:
type: object
properties:
enabled:
oneOf:
- type: boolean
- type: string
required:
- enabled
NodeInfoSettingsNode:
type: object
properties:
name:
$ref: '_common.yaml#/components/schemas/Name'
attr:
$ref: '#/components/schemas/NodeInfoShardIndexingPressureEnabled'
max_local_storage_nodes:
type: string
required:
- attr
- name
NodeInfoPath:
type: object
properties:
logs:
type: string
home:
type: string
repo:
type: array
items:
type: string
data:
type: array
items:
type: string
required:
- home
- logs
NodeInfoRepositories:
type: object
properties:
url:
$ref: '#/components/schemas/NodeInfoRepositoriesUrl'
required:
- url
NodeInfoRepositoriesUrl:
type: object
properties:
allowed_urls:
type: string
required:
- allowed_urls
NodeInfoShardIndexingPressureEnabled:
type: object
properties:
shard_indexing_pressure_enabled:
type: string
required:
- shard_indexing_pressure_enabled
NodeInfoDiscovery:
type: object
properties:
type:
type: string
seed_hosts:
type: string
NodeInfoAction:
type: object
properties:
destructive_requires_name:
type: string
required:
- destructive_requires_name
NodeInfoClient:
type: object
properties:
type:
type: string
required:
- type
NodeInfoSettingsHttp:
type: object
properties:
type:
type: string
type.default:
type: string
compression:
oneOf:
- type: boolean
- type: string
port:
oneOf:
- type: number
- type: string
required:
- type
NodeInfoBootstrap:
type: object
properties:
memory_lock:
type: string
required:
- memory_lock
NodeInfoSettingsTransport:
type: object
properties:
type:
type: string
type.default:
type: string
required:
- type
NodeInfoSettingsNetwork:
type: object
properties:
host:
$ref: '_common.yaml#/components/schemas/Host'
required:
- host
NodeInfoScript:
type: object
properties:
allowed_types:
type: string
disable_max_compilations_rate:
type: string
required:
- allowed_types
- disable_max_compilations_rate
NodeInfoSearch:
type: object
properties:
remote:
$ref: '#/components/schemas/NodeInfoSearchRemote'
required:
- remote
NodeInfoSearchRemote:
type: object
properties:
connect:
type: string
required:
- connect
NodeInfoSettingsIngest:
type: object
properties:
attachment:
$ref: '#/components/schemas/NodeInfoIngestInfo'
append:
$ref: '#/components/schemas/NodeInfoIngestInfo'
csv:
$ref: '#/components/schemas/NodeInfoIngestInfo'
convert:
$ref: '#/components/schemas/NodeInfoIngestInfo'
date:
$ref: '#/components/schemas/NodeInfoIngestInfo'
date_index_name:
$ref: '#/components/schemas/NodeInfoIngestInfo'
dot_expander:
$ref: '#/components/schemas/NodeInfoIngestInfo'
enrich:
$ref: '#/components/schemas/NodeInfoIngestInfo'
fail:
$ref: '#/components/schemas/NodeInfoIngestInfo'
foreach:
$ref: '#/components/schemas/NodeInfoIngestInfo'
json:
$ref: '#/components/schemas/NodeInfoIngestInfo'
user_agent:
$ref: '#/components/schemas/NodeInfoIngestInfo'
kv:
$ref: '#/components/schemas/NodeInfoIngestInfo'
geoip:
$ref: '#/components/schemas/NodeInfoIngestInfo'
grok:
$ref: '#/components/schemas/NodeInfoIngestInfo'
gsub:
$ref: '#/components/schemas/NodeInfoIngestInfo'
join:
$ref: '#/components/schemas/NodeInfoIngestInfo'
lowercase:
$ref: '#/components/schemas/NodeInfoIngestInfo'
remove:
$ref: '#/components/schemas/NodeInfoIngestInfo'
rename:
$ref: '#/components/schemas/NodeInfoIngestInfo'
script:
$ref: '#/components/schemas/NodeInfoIngestInfo'
set:
$ref: '#/components/schemas/NodeInfoIngestInfo'
sort:
$ref: '#/components/schemas/NodeInfoIngestInfo'
split:
$ref: '#/components/schemas/NodeInfoIngestInfo'
trim:
$ref: '#/components/schemas/NodeInfoIngestInfo'
uppercase:
$ref: '#/components/schemas/NodeInfoIngestInfo'
urldecode:
$ref: '#/components/schemas/NodeInfoIngestInfo'
bytes:
$ref: '#/components/schemas/NodeInfoIngestInfo'
dissect:
$ref: '#/components/schemas/NodeInfoIngestInfo'
set_security_user:
$ref: '#/components/schemas/NodeInfoIngestInfo'
pipeline:
$ref: '#/components/schemas/NodeInfoIngestInfo'
drop:
$ref: '#/components/schemas/NodeInfoIngestInfo'
circle:
$ref: '#/components/schemas/NodeInfoIngestInfo'
inference:
$ref: '#/components/schemas/NodeInfoIngestInfo'
NodeInfoIngestInfo:
type: object
properties:
downloader:
$ref: '#/components/schemas/NodeInfoIngestDownloader'
required:
- downloader
NodeInfoIngestDownloader:
type: object
properties:
enabled:
type: string
required:
- enabled
NodeInfoSettingsIndex:
type: object
properties:
store:
$ref: '#/components/schemas/NodeInfoSettingsIndexStore'
NodeInfoSettingsIndexStore:
type: object
properties:
hybrid:
$ref: '#/components/schemas/NodeInfoSettingsIndexHybrid'
NodeInfoSettingsIndexHybrid:
type: object
properties:
mmap:
$ref: '#/components/schemas/NodeInfoSettingsIndexStoreMmap'
NodeInfoSettingsIndexStoreMmap:
type: object
properties:
extensions:
type: array
items:
type: string
NodeInfoSettingsPlugins:
type: object
additionalProperties:
$ref: '_common.yaml#/components/schemas/FieldValue'
NodeThreadPoolInfo:
type: object
properties:
core:
type: number
keep_alive:
$ref: '_common.yaml#/components/schemas/Duration'
max:
type: number
queue_size:
type: number
size:
type: number
type:
type: string
required:
- queue_size
- type
NodeInfoTransport:
type: object
properties:
bound_address:
type: array
items:
type: string
publish_address:
type: string
profiles:
type: object
additionalProperties:
type: string
required:
- bound_address
- profiles
- publish_address
NodeInfoIngest:
type: object
properties:
processors:
type: array
items:
$ref: '#/components/schemas/NodeInfoIngestProcessor'
required:
- processors
NodeInfoIngestProcessor:
type: object
properties:
type:
type: string
required:
- type
NodeInfoAggregation:
type: object
properties:
types:
type: array
items:
type: string
required:
- types
NodeInfoSearchPipelines:
type: object
properties:
response_processors:
type: array
items:
$ref: '#/components/schemas/NodeInfoIngestProcessor'
request_processors:
type: array
items:
$ref: '#/components/schemas/NodeInfoIngestProcessor'
required:
- request_processors
- response_processors