-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathadmin.yaml
More file actions
2266 lines (2081 loc) · 84.7 KB
/
admin.yaml
File metadata and controls
2266 lines (2081 loc) · 84.7 KB
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
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
openapi: 3.0.3
info:
title: Query Admin REST API
version: '8.0'
description: |
The Query Admin REST API is a secondary API provided by the Query service.
This API enables you to retrieve statistics about the clusters and nodes running the Query service; view or specify node-level settings; and view or delete requests.
servers:
- url: '{scheme}://{host}:{port}'
description: The URL scheme, host, and port are as follows.
variables:
scheme:
default: http
description: |-
The URL scheme.
Use `https` for secure access.
enum:
- http
- https
host:
default: localhost
description: The host name or IP address of a node running the Query service.
port:
default: "8093"
description: |-
The Query service REST port.
Use `18093` for secure access.
enum:
- "8093"
- "18093"
tags:
- name: configuration
description: Operations for cluster and node configuration.
- name: prepared statements
description: Operations for prepared statements.
- name: active requests
description: Operations for active requests.
- name: completed requests
description: Operations for completed requests.
- name: statistics
description: Operations for query statistics.
- name: settings
description: Operations for query settings.
- name: default
description: Other operations.
# The output of this spec is used in more than one location, so Markdown cannot use relative links.
# Absolute links begin with /server/8.0 -- this must be replaced for every branch.
# Relative links point to a location relative to the REST API reference page by default.
# The x-desc-refs attribute is used to override links when content is transcluded to other locations.
# The AsciiDoc Markdown converter does not recognize HTML tags like <a id="foo">.
# Use the x-desc-name vendor extension to specify the anchor for a property.
paths:
/admin/clusters:
get:
operationId: get_clusters
summary: Read All Clusters
description: Returns information about all clusters.
tags:
- configuration
security:
- Default: []
responses:
200:
description: An array of objects, each of which gives information about one cluster.
content:
application/json:
schema:
type: array
items:
$ref: "#/components/schemas/Clusters"
/admin/clusters/{cluster}:
get:
operationId: get_cluster
summary: Read a Cluster
parameters:
- $ref: "#/components/parameters/PathCluster"
description: Returns information about the specified cluster.
tags:
- configuration
security:
- Default: []
responses:
200:
description: An object giving information about the specified cluster.
content:
application/json:
schema:
$ref: "#/components/schemas/Clusters"
/admin/clusters/{cluster}/nodes:
get:
operationId: get_nodes
summary: Read All Nodes
parameters:
- $ref: "#/components/parameters/PathCluster"
description: Returns information about all nodes in the specified cluster.
tags:
- configuration
security:
- Default: []
responses:
200:
description: An array of objects, each of which gives information about one node.
content:
application/json:
schema:
type: array
items:
$ref: "#/components/schemas/Nodes"
/admin/clusters/{cluster}/nodes/{node}:
get:
operationId: get_node
summary: Read a Node
parameters:
- $ref: "#/components/parameters/PathCluster"
- $ref: "#/components/parameters/PathNode"
description: Returns information about the specified node in the specified cluster.
tags:
- configuration
security:
- Default: []
responses:
200:
description: An object giving information about the specified node.
content:
application/json:
schema:
$ref: "#/components/schemas/Nodes"
/admin/config:
get:
operationId: get_config
summary: Read Configuration
description: Returns the configuration of the query service on the cluster.
tags:
- configuration
security:
- Default: []
responses:
200:
description: An object giving information about the specified node.
content:
application/json:
schema:
$ref: "#/components/schemas/Nodes"
/admin/prepareds:
get:
operationId: get_prepareds
summary: Retrieve All Prepared Statements
description: |
Returns all prepared statements.
tags:
- prepared statements
security:
- Default: []
responses:
200:
description: An array of objects, each of which contains information about one prepared statement.
content:
application/json:
schema:
type: array
items:
$ref: "#/components/schemas/Statements"
/admin/prepareds/{name}:
get:
operationId: get_prepared
summary: Retrieve a Prepared Statement
parameters:
- $ref: "#/components/parameters/PathName"
description: |
Returns the specified prepared statement.
tags:
- prepared statements
security:
- Default: []
responses:
200:
description: An object containing information about the specified prepared statement.
content:
application/json:
schema:
$ref: "#/components/schemas/Statements"
delete:
operationId: delete_prepared
summary: Delete a Prepared Statement
parameters:
- $ref: "#/components/parameters/PathName"
description: |
Deletes the specified prepared statement.
tags:
- prepared statements
security:
- Default: []
responses:
200:
description: The prepared statement was successfully deleted.
500:
description: Returns an error message if the prepared statement could not be found.
content:
application/json:
schema:
type: object
/admin/active_requests:
get:
operationId: get_active_requests
summary: Retrieve All Active Requests
description: |
Returns all active query requests.
tags:
- active requests
security:
- Default: []
responses:
200:
description: An array of objects, each of which contains information about one active request.
content:
application/json:
schema:
type: array
items:
$ref: "#/components/schemas/Requests"
/admin/active_requests/{request}:
get:
operationId: get_active_request
summary: Retrieve an Active Request
parameters:
- $ref: "#/components/parameters/PathRequest"
description: |
Returns the specified active query request.
tags:
- active requests
security:
- Default: []
responses:
200:
description: An object containing information about the specified active request.
content:
application/json:
schema:
$ref: "#/components/schemas/Requests"
delete:
operationId: delete_active_request
summary: Delete an Active Request
parameters:
- $ref: "#/components/parameters/PathRequest"
description: |
Terminates the specified active query request.
tags:
- active requests
security:
- Default: []
responses:
200:
description: The active request was successfully terminated.
500:
description: Returns an error message if the active request could not be found.
content:
application/json:
schema:
type: object
/admin/completed_requests:
get:
operationId: get_completed_requests
summary: Retrieve All Completed Requests
description: |
Returns all completed requests.
tags:
- completed requests
security:
- Default: []
responses:
200:
description: An array of objects, each of which contains information about one completed request.
content:
application/json:
schema:
type: array
items:
$ref: "#/components/schemas/Requests"
/admin/completed_requests/{request}:
get:
operationId: get_completed_request
summary: Retrieve a Completed Request
parameters:
- $ref: "#/components/parameters/PathRequest"
description: |
Returns the specified completed request.
tags:
- completed requests
security:
- Default: []
responses:
200:
description: An object containing information about the specified completed request.
content:
application/json:
schema:
$ref: "#/components/schemas/Requests"
delete:
operationId: delete_completed_request
summary: Delete a Completed Request
parameters:
- $ref: "#/components/parameters/PathRequest"
description: |
Purges the specified completed request.
tags:
- completed requests
security:
- Default: []
responses:
200:
description: The completed request was successfully purged.
500:
description: Returns an error message if the completed request could not be found.
content:
application/json:
schema:
type: object
/admin/indexes/prepareds:
get:
operationId: get_prepared_indexes
summary: Retrieve Prepared Index Statements
description: |
Returns all prepared index statements.
* Use [Retrieve a Prepared Statement](#get_prepared) to get information about a prepared index statement.
* Use [Delete a Prepared Statement](#delete_prepared) to delete a prepared index statement.
tags:
- prepared statements
security:
- Default: []
responses:
200:
description: An array of strings, each of which is the name of a prepared index statement.
content:
application/json:
schema:
type: array
items:
type: string
description: |
The name of the prepared statement.
This may be a UUID that was assigned automatically, or a name that was user-specified when the statement was created.
/admin/indexes/active_requests:
get:
operationId: get_active_indexes
summary: Retrieve Active Index Requests
description: |
Returns all active index requests.
* Use [Retrieve an Active Request](#get_active_request) to get information about an active index request.
* Use [Delete an Active Request](#delete_active_request) to terminate an active index request.
tags:
- active requests
security:
- Default: []
responses:
200:
description: An array of strings, each of which is the requestID of an active index request.
content:
application/json:
schema:
type: array
items:
type: string
description: Unique request ID internally generated for the query.
/admin/indexes/completed_requests:
get:
operationId: get_completed_indexes
summary: Retrieve Completed Index Requests
description: |
Returns all completed index requests.
* Use [Retrieve a Completed Request](#get_completed_request) to get information about a completed index request.
* Use [Delete a Completed Request](#delete_completed_request) to purge a completed index request.
tags:
- completed requests
security:
- Default: []
responses:
200:
description: An array of strings, each of which is the requestID of a completed index request.
content:
application/json:
schema:
type: array
items:
type: string
description: Unique request ID internally generated for the query.
/admin/ping:
get:
operationId: get_ping
summary: Ping
description: Returns a minimal response, indicating that the service is running and reachable.
tags:
- default
responses:
200:
description: An empty object.
content:
application/json:
schema:
type: object
/admin/gc:
get:
operationId: get_gc
summary: Run Garbage Collector
description: |
Runs the garbage collector.
A message is written to `query.log` whenever the garbage collector endpoint is invoked.
tags:
- default
security:
- Default: []
responses:
200:
description: Indicates that the garbage collector was invoked.
content:
application/json:
schema:
$ref: "#/components/schemas/Garbage"
401:
description: |
Error 10000: authentication failure.
The invoking user is not a valid full-admin user.
content:
application/json:
schema:
type: object
post:
operationId: post_gc
summary: Run Garbage Collector and Release Memory
description: |
Run the garbage collector and attempts to return freed memory to the OS.
A message is written to `query.log` whenever the garbage collector endpoint is invoked.
tags:
- default
security:
- Default: []
responses:
200:
description: Indicates that the garbage collector was invoked.
content:
application/json:
schema:
$ref: "#/components/schemas/Garbage"
401:
description: |
Error 10000: authentication failure.
The invoking user is not a valid full-admin user.
content:
application/json:
schema:
type: object
# /admin/ssl_cert:
# get:
# deprecated: true
/admin/vitals:
get:
operationId: get_vitals
summary: Retrieve Vitals
description: |
Returns data about the running state and health of the query engine.
This information can be very useful to assess the current workload and performance characteristics of a query engine, and hence load-balance the requests being sent to various query engines.
tags:
- statistics
security:
- Default: []
responses:
200:
description: An object containing all vital statistics.
content:
application/json:
schema:
$ref: "#/components/schemas/Vitals"
/admin/stats:
get:
operationId: get_stats
summary: Retrieve All Statistics
description: Returns all statistics.
tags:
- statistics
security:
- Default: []
responses:
200:
description: |
An object containing all statistics.
Each statistic consists of a top-level statistic name and a metric name.
Each statistic has a different set of metrics.
content:
application/json:
schema:
$ref: "#/components/schemas/Statistics"
/admin/stats/{stat}:
get:
operationId: get_stat
summary: Retrieve a Statistic
parameters:
- $ref: "#/components/parameters/PathStat"
description: Returns the specified statistic.
tags:
- statistics
security:
- Default: []
responses:
200:
description: |
An object containing all metrics for the specified statistic.
Each statistic has a different set of metrics.
content:
application/json:
schema:
$ref: "#/components/schemas/Metrics"
/debug/vars:
get:
operationId: get_debug_vars
summary: Get Debug Variables
description: Currently unused.
tags:
- statistics
responses:
302:
description: Redirects to the [Retrieve All Statistics](#get_stats) endpoint.
content:
text/html:
schema:
type: string
format: text/html
/admin/settings:
get:
operationId: get_settings
summary: Retrieve Node-Level Query Settings
description: |
Returns node-level query settings.
tags:
- settings
security:
- Default: []
responses:
200:
description: An object giving node-level query settings.
content:
application/json:
schema:
$ref: "#/components/schemas/Settings"
post:
operationId: post_settings
summary: Update Node-Level Query Settings
description: |
Updates node-level query settings.
tags:
- settings
security:
- Default: []
requestBody:
description: An object specifying node-level query settings.
content:
application/json:
schema:
$ref: "#/components/schemas/Settings"
application/x-www-form-urlencoded:
schema:
$ref: "#/components/schemas/Settings"
responses:
200:
description: An object giving node-level query settings, including the latest changes.
content:
application/json:
schema:
$ref: "#/components/schemas/Settings"
components:
schemas:
Clusters:
type: object
title: Cluster Information
properties:
name:
type: string
description: The name of the cluster.
datastore:
type: string
description: The URL of the datastore.
configstore:
type: string
description: The URL of the configstore.
accountstore:
type: string
description: The URL of the accountstore.
version:
type: string
Nodes:
type: object
title: Node Information
properties:
cluster:
type: string
description: The name of the cluster.
name:
type: string
description: The URL of the node, including port number.
queryEndpoint:
type: string
description: The HTTP URL of the query endpoint.
adminEndpoint:
type: string
description: The HTTP URL of the admin endpoint.
querySecure:
type: string
description: The HTTPS URL of the query endpoint.
adminSecure:
type: string
description: The HTTPS URL of the admin endpoint.
options:
type: string
Requests:
type: object
title: Requests
properties:
clientContextID:
type: string
description: |
The opaque ID or context provided by the client.
Refer to the [request-level][client_context_id] `client_context_id` parameter for more information.
[client_context_id]: ../n1ql-rest-query/index.html#client_context_id
x-desc-refs: |
[client_context_id]: #client_context_id
elapsedTime:
type: string
format: duration
description: |
The time taken from when the request was acknowledged by the service to when the request was completed.
It includes the time taken by the service to schedule the request.
errorCount:
type: integer
description: Total number of errors encountered while executing the query.
memoryQuota:
type: integer
description: |
The memory quota for the request, in MB.
This property is only returned if a memory quota is set for the query.
node:
type: string
description: IP address and port number of the node where the query is executed.
phaseCounts:
type: object
description: |
Count of documents processed at selective phases involved in the query execution, such as authorize, index scan, fetch, parse, plan, run, etc.
For active requests, this property is dynamic, depending on the documents processed by various phases up to this moment in time.
Polling the active requests again may return different values.
example:
{
"fetch": 16,
"indexScan": 187
}
x-has-example: true
phaseOperators:
type: object
description: |
Indicates the numbers of each kind of query operator involved in different phases of the query processing.
For instance, a non-covering index path might involve one index scan and one fetch operator.
A join would probably involve two or more fetches, one per keyspace.
A union select would have twice as many operator counts, one per each branch of the union.
example:
{
"authorize": 1,
"fetch": 1,
"indexScan": 2
}
x-has-example: true
phaseTimes:
type: object
description: |
Cumulative execution times for various phases involved in the query execution, such as authorize, index scan, fetch, parse, plan, run, etc.
For active requests, this property is dynamic, depending on the documents processed by various phases up to this moment in time.
Polling the active requests again may return different values.
example:
{
"authorize": "823.631µs",
"fetch": "656.873µs",
"indexScan": "29.146543ms",
"instantiate": "236.221µs",
"parse": "826.382µs",
"plan": "11.831101ms",
"run": "16.892181ms"
}
x-has-example: true
remoteAddr:
type: string
description: IP address and port number of the client application, from where the query is received.
requestId:
type: string
format: uuid
description: Unique request ID internally generated for the query.
requestTime:
type: string
format: date-time
description: Timestamp when the query is received.
resultCount:
type: integer
description: Total number of documents returned in the query result.
resultSize:
type: integer
description: Total number of bytes returned in the query result.
scanConsistency:
type: string
description: The value of the query setting Scan Consistency used for the query.
serviceTime:
type: string
format: duration
description: Total amount of calendar time taken to complete the query.
state:
type: string
description: |
The state of the query execution, such as `completed`, `running`, `cancelled`.
Note that the `completed` state means that the request was started and completed by the Query service, but it does not mean that it was necessarily successful.
The request could have been successful, or completed with errors.
To find requests that were successful, use this field in conjunction with the `errorCount` field: search for requests whose state is `completed` and whose error count is `0`.
statement:
type: string
description: The query statement being executed.
useCBO:
type: boolean
description: Whether the cost-based optimizer is enabled for the query.
usedMemory:
type: integer
description: |
The amount of document memory used to execute the request.
This property is only returned if a memory quota is set for the query.
userAgent:
type: string
description: Name of the client application or program that issued the query.
users:
type: string
description: Username with whose privileges the query is run.
Statements:
type: object
title: Prepared Statements
required:
- encoded_plan
- name
- statement
- uses
properties:
encoded_plan:
type: string
description: The full prepared statement in encoded format.
featureControls:
type: integer
description: |
This property is provided for technical support only.
It is only returned when retrieving a specific prepared statement, not when retrieving all prepared statements.
indexApiVersion:
type: integer
description: |
This property is provided for technical support only.
It is only returned when retrieving a specific prepared statement, not when retrieving all prepared statements.
name:
type: string
description: |
The name of the prepared statement.
This may be a UUID that was assigned automatically, or a name that was user-specified when the statement was created.
namespace:
type: string
description: |
The namespace in which the prepared statement is stored.
Currently, only the `default` namespace is available.
node:
type: string
description: |
The node on which the prepared statement is stored.
statement:
type: string
description: The text of the query.
uses:
type: integer
description: The count of times the prepared statement has been executed.
avgElapsedTime:
type: string
format: duration
description: |
The mean time taken from when the request to execute the prepared statement was acknowledged by the service, to when the request was completed.
It includes the time taken by the service to schedule the request.
This property is only returned when the prepared statement has been executed.
It is only returned when retrieving a specific prepared statement, not when retrieving all prepared statements.
avgServiceTime:
type: string
format: duration
description: |
The mean amount of calendar time taken to complete the execution of the prepared statement.
This property is only returned when the prepared statement has been executed.
It is only returned when retrieving a specific prepared statement, not when retrieving all prepared statements.
lastUse:
type: string
format: date-time
description: |
Date and time of last use.
This property is only returned when the prepared statement has been executed.
maxElapsedTime:
type: string
format: duration
description: |
The maximum time taken from when the request to execute the prepared statement was acknowledged by the service, to when the request was completed.
It includes the time taken by the service to schedule the request.
This property is only returned when the prepared statement has been executed.
It is only returned when retrieving a specific prepared statement, not when retrieving all prepared statements.
maxServiceTime:
type: string
format: duration
description: |
The maximum amount of calendar time taken to complete the execution of the prepared statement.
This property is only returned when the prepared statement has been executed.
It is only returned when retrieving a specific prepared statement, not when retrieving all prepared statements.
minElapsedTime:
type: string
format: duration
description: |
The minimum time taken from when the request to execute the prepared statement was acknowledged by the service, to when the request was completed.
It includes the time taken by the service to schedule the request.
This property is only returned when the prepared statement has been executed.
It is only returned when retrieving a specific prepared statement, not when retrieving all prepared statements.
minServiceTime:
type: string
format: duration
description: |
The minimum amount of calendar time taken to complete the execution of the prepared statement.
This property is only returned when the prepared statement has been executed.
It is only returned when retrieving a specific prepared statement, not when retrieving all prepared statements.
Vitals:
type: object
title: Vital Statistics
properties:
bucket.IO.stats:
type: object
description: The number of reads and retries for each bucket.
uptime:
type: string
format: duration
description: The uptime of the query engine.
local.time:
type: string
format: date-time
description: The local time of the query engine.
version:
type: string
description: The version of the query engine.
total.threads:
type: integer
description: The number of active threads used by the query engine.
cores:
type: integer
description: The maximum number of logical cores available to the query engine.
ffdc.total:
type: integer
description: The total number of times FFDC has been invoked since the last restart.
gc.num:
type: integer
format: int64
description: The target heap size of the next garbage collection cycle.
gc.pause.time:
type: string
format: duration
description: The total time spent pausing for garbage collection since the query engine started (ns).
gc.pause.percent:
type: integer
format: int64
description: The percentage of time spent pausing for garbage collection since the last time the statistics were checked.
healthy:
type: boolean
description: False when either the unbounded or plus request queues are full; true otherwise.
host.memory.free:
type: integer
format: int64
description: Amount of free memory on the host.
host.memory.quota:
type: integer
format: int64
description: |
The host memory quota.
This reflects the node-quota setting.
host.memory.total:
type: integer
format: int64
description: Total memory on the host.
host.memory.value_quota:
type: integer
format: int64
description: This the total document memory quota on the node.
load:
type: integer
description: A calculation for how busy the server is.
loadfactor:
type: integer
description: The moving 15 minute average of the load calculation.
memory.usage:
type: integer
format: int64
description: |
The amount of memory allocated for heap objects (bytes).
This increases as heap objects are allocated, and decreases as objects are freed.
memory.total:
type: integer
format: int64
description: |
The cumulative amount of memory allocated for heap objects (bytes).
This increases as heap objects are allocated, but does not decrease when objects are freed.
memory.system:
type: integer
format: int64
description: |
The total amount of memory obtained from the operating system (bytes).
This measures the virtual address space reserved by the query engine for heaps, stacks, and other internal data structures.
node:
type: string
description: The name or IP address and port of the node.
node.allocated.values:
type: integer
description: |
The total number of values allocated to contain documents or computations around documents.
(This is only of relevance internally.)
node.memory.usage:
type: integer
description: The currently allocated document memory on the node.
cpu.user.percent:
type: integer
format: int64
description: |
CPU usage.
The percentage of time spent executing user code since the last time the statistics were checked.
cpu.sys.percent:
type: integer
format: int64
description: |
CPU usage.
The percentage of time spent executing system code since the last time the statistics were checked.
process.memory.usage:
type: integer
description: Current process memory use.
process.percore.cpupercent:
type: number
description: Average CPU usage per core.
process.rss:
type: integer
description: Process RSS (bytes)
process.service.usage:
type: integer
description: The number of active servicers for the dominant workload — unbound queue servicers or plus queue servicers.
request.completed.count:
type: integer
description: Total number of completed requests.
request.active.count:
type: integer
description: Total number of active requests.
request.per.sec.1min:
type: number