diff --git a/output/schema/schema.json b/output/schema/schema.json index 819b26f762..8e8db210b1 100644 --- a/output/schema/schema.json +++ b/output/schema/schema.json @@ -12103,6 +12103,12 @@ "docId": "cluster-nodes-stats", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/cluster-nodes-stats.html", "name": "nodes.stats", + "privileges": { + "cluster": [ + "monitor", + "manage" + ] + }, "request": { "name": "Request", "namespace": "nodes.stats" @@ -12172,6 +12178,12 @@ "docId": "cluster-nodes-usage", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/cluster-nodes-usage.html", "name": "nodes.usage", + "privileges": { + "cluster": [ + "monitor", + "manage" + ] + }, "request": { "name": "Request", "namespace": "nodes.usage" @@ -156639,6 +156651,7 @@ }, "properties": [ { + "description": "The exponentially weighted moving average queue size of search requests on the keyed node.", "name": "avg_queue_size", "required": false, "type": { @@ -156650,6 +156663,7 @@ } }, { + "description": "The exponentially weighted moving average response time of search requests on the keyed node.", "name": "avg_response_time", "required": false, "type": { @@ -156661,6 +156675,7 @@ } }, { + "description": "The exponentially weighted moving average response time, in nanoseconds, of search requests on the keyed node.", "name": "avg_response_time_ns", "required": false, "type": { @@ -156672,6 +156687,7 @@ } }, { + "description": "The exponentially weighted moving average service time of search requests on the keyed node.", "name": "avg_service_time", "required": false, "type": { @@ -156683,6 +156699,7 @@ } }, { + "description": "The exponentially weighted moving average service time, in nanoseconds, of search requests on the keyed node.", "name": "avg_service_time_ns", "required": false, "type": { @@ -156694,6 +156711,7 @@ } }, { + "description": "The number of outstanding search requests from the node these stats are for to the keyed node.", "name": "outgoing_searches", "required": false, "type": { @@ -156705,6 +156723,7 @@ } }, { + "description": "The rank of this node; used for shard selection when routing search requests.", "name": "rank", "required": false, "type": { @@ -156716,7 +156735,7 @@ } } ], - "specLocation": "nodes/_types/Stats.ts#L169-L177" + "specLocation": "nodes/_types/Stats.ts#L403-L432" }, { "kind": "interface", @@ -156726,6 +156745,7 @@ }, "properties": [ { + "description": "Estimated memory used for the operation.", "name": "estimated_size", "required": false, "type": { @@ -156737,6 +156757,7 @@ } }, { + "description": "Estimated memory used, in bytes, for the operation.", "name": "estimated_size_in_bytes", "required": false, "type": { @@ -156748,6 +156769,7 @@ } }, { + "description": "Memory limit for the circuit breaker.", "name": "limit_size", "required": false, "type": { @@ -156759,6 +156781,7 @@ } }, { + "description": "Memory limit, in bytes, for the circuit breaker.", "name": "limit_size_in_bytes", "required": false, "type": { @@ -156770,6 +156793,7 @@ } }, { + "description": "A constant that all estimates for the circuit breaker are multiplied with to calculate a final estimate.", "name": "overhead", "required": false, "type": { @@ -156781,6 +156805,7 @@ } }, { + "description": "Total number of times the circuit breaker has been triggered and prevented an out of memory error.", "name": "tripped", "required": false, "type": { @@ -156792,7 +156817,7 @@ } } ], - "specLocation": "nodes/_types/Stats.ts#L179-L186" + "specLocation": "nodes/_types/Stats.ts#L434-L459" }, { "kind": "interface", @@ -156802,6 +156827,7 @@ }, "properties": [ { + "description": "Contains statistics about cpuacct control group for the node.", "name": "cpuacct", "required": false, "type": { @@ -156813,6 +156839,7 @@ } }, { + "description": "Contains statistics about `cpu` control group for the node.", "name": "cpu", "required": false, "type": { @@ -156824,6 +156851,7 @@ } }, { + "description": "Contains statistics about the memory control group for the node.", "name": "memory", "required": false, "type": { @@ -156835,7 +156863,7 @@ } } ], - "specLocation": "nodes/_types/Stats.ts#L188-L192" + "specLocation": "nodes/_types/Stats.ts#L461-L474" }, { "kind": "interface", @@ -156845,6 +156873,7 @@ }, "properties": [ { + "description": "The `cpu` control group to which the Elasticsearch process belongs.", "name": "control_group", "required": false, "type": { @@ -156856,6 +156885,7 @@ } }, { + "description": "The period of time, in microseconds, for how regularly all tasks in the same cgroup as the Elasticsearch process should have their access to CPU resources reallocated.", "name": "cfs_period_micros", "required": false, "type": { @@ -156867,6 +156897,7 @@ } }, { + "description": "The total amount of time, in microseconds, for which all tasks in the same cgroup as the Elasticsearch process can run during one period `cfs_period_micros`.", "name": "cfs_quota_micros", "required": false, "type": { @@ -156878,6 +156909,7 @@ } }, { + "description": "Contains CPU statistics for the node.", "name": "stat", "required": false, "type": { @@ -156889,7 +156921,7 @@ } } ], - "specLocation": "nodes/_types/Stats.ts#L199-L204" + "specLocation": "nodes/_types/Stats.ts#L487-L504" }, { "kind": "interface", @@ -156899,6 +156931,7 @@ }, "properties": [ { + "description": "The number of reporting periods (as specified by `cfs_period_micros`) that have elapsed.", "name": "number_of_elapsed_periods", "required": false, "type": { @@ -156910,6 +156943,7 @@ } }, { + "description": "The number of times all tasks in the same cgroup as the Elasticsearch process have been throttled.", "name": "number_of_times_throttled", "required": false, "type": { @@ -156921,6 +156955,7 @@ } }, { + "description": "The total amount of time, in nanoseconds, for which all tasks in the same cgroup as the Elasticsearch process have been throttled.", "name": "time_throttled_nanos", "required": false, "type": { @@ -156941,7 +156976,7 @@ } } ], - "specLocation": "nodes/_types/Stats.ts#L206-L210" + "specLocation": "nodes/_types/Stats.ts#L506-L519" }, { "kind": "interface", @@ -156951,6 +156986,7 @@ }, "properties": [ { + "description": "The `memory` control group to which the Elasticsearch process belongs.", "name": "control_group", "required": false, "type": { @@ -156962,6 +156998,7 @@ } }, { + "description": "The maximum amount of user memory (including file cache) allowed for all tasks in the same cgroup as the Elasticsearch process.\nThis value can be too big to store in a `long`, so is returned as a string so that the value returned can exactly match what the underlying operating system interface returns.\nAny value that is too large to parse into a `long` almost certainly means no limit has been set for the cgroup.", "name": "limit_in_bytes", "required": false, "type": { @@ -156973,6 +157010,7 @@ } }, { + "description": "The total current memory usage by processes in the cgroup, in bytes, by all tasks in the same cgroup as the Elasticsearch process.\nThis value is stored as a string for consistency with `limit_in_bytes`.", "name": "usage_in_bytes", "required": false, "type": { @@ -156984,7 +157022,7 @@ } } ], - "specLocation": "nodes/_types/Stats.ts#L212-L216" + "specLocation": "nodes/_types/Stats.ts#L521-L537" }, { "kind": "interface", @@ -156994,6 +157032,7 @@ }, "properties": [ { + "description": "Unique ID for the HTTP client.", "name": "id", "required": false, "type": { @@ -157005,6 +157044,7 @@ } }, { + "description": "Reported agent for the HTTP client.\nIf unavailable, this property is not included in the response.", "name": "agent", "required": false, "type": { @@ -157016,6 +157056,7 @@ } }, { + "description": "Local address for the HTTP connection.", "name": "local_address", "required": false, "type": { @@ -157027,6 +157068,7 @@ } }, { + "description": "Remote address for the HTTP connection.", "name": "remote_address", "required": false, "type": { @@ -157038,6 +157080,7 @@ } }, { + "description": "The URI of the client’s most recent request.", "name": "last_uri", "required": false, "type": { @@ -157049,6 +157092,7 @@ } }, { + "description": "Time at which the client opened the connection.", "name": "opened_time_millis", "required": false, "type": { @@ -157060,6 +157104,7 @@ } }, { + "description": "Time at which the client closed the connection if the connection is closed.", "name": "closed_time_millis", "required": false, "type": { @@ -157071,6 +157116,7 @@ } }, { + "description": "Time of the most recent request from this client.", "name": "last_request_time_millis", "required": false, "type": { @@ -157082,6 +157128,7 @@ } }, { + "description": "Number of requests from this client.", "name": "request_count", "required": false, "type": { @@ -157093,6 +157140,7 @@ } }, { + "description": "Cumulative size in bytes of all requests from this client.", "name": "request_size_bytes", "required": false, "type": { @@ -157104,6 +157152,7 @@ } }, { + "description": "Value from the client’s `x-opaque-id` HTTP header.\nIf unavailable, this property is not included in the response.", "name": "x_opaque_id", "required": false, "type": { @@ -157115,7 +157164,7 @@ } } ], - "specLocation": "nodes/_types/Stats.ts#L272-L284" + "specLocation": "nodes/_types/Stats.ts#L649-L696" }, { "kind": "interface", @@ -157139,7 +157188,7 @@ } } ], - "specLocation": "nodes/_types/Stats.ts#L90-L92" + "specLocation": "nodes/_types/Stats.ts#L221-L223" }, { "kind": "interface", @@ -157149,6 +157198,7 @@ }, "properties": [ { + "description": "Total number of cluster states in queue.", "name": "total", "required": false, "type": { @@ -157160,6 +157210,7 @@ } }, { + "description": "Number of pending cluster states in queue.", "name": "pending", "required": false, "type": { @@ -157171,6 +157222,7 @@ } }, { + "description": "Number of committed cluster states in queue.", "name": "committed", "required": false, "type": { @@ -157182,7 +157234,7 @@ } } ], - "specLocation": "nodes/_types/Stats.ts#L114-L118" + "specLocation": "nodes/_types/Stats.ts#L248-L261" }, { "kind": "interface", @@ -157192,6 +157244,7 @@ }, "properties": [ { + "description": "The number of cluster state update attempts that did not change the cluster state since the node started.", "name": "count", "required": true, "type": { @@ -157203,6 +157256,7 @@ } }, { + "description": "The cumulative amount of time spent computing no-op cluster state updates since the node started.", "name": "computation_time", "required": false, "type": { @@ -157214,6 +157268,7 @@ } }, { + "description": "The cumulative amount of time, in milliseconds, spent computing no-op cluster state updates since the node started.", "name": "computation_time_millis", "required": false, "type": { @@ -157234,6 +157289,7 @@ } }, { + "description": "The cumulative amount of time spent publishing cluster state updates which ultimately succeeded, which includes everything from the start of the publication (i.e. just after the computation of the new cluster state) until the publication has finished and the master node is ready to start processing the next state update.\nThis includes the time measured by `context_construction_time`, `commit_time`, `completion_time` and `master_apply_time`.", "name": "publication_time", "required": false, "type": { @@ -157245,6 +157301,7 @@ } }, { + "description": "The cumulative amount of time, in milliseconds, spent publishing cluster state updates which ultimately succeeded, which includes everything from the start of the publication (i.e. just after the computation of the new cluster state) until the publication has finished and the master node is ready to start processing the next state update.\nThis includes the time measured by `context_construction_time`, `commit_time`, `completion_time` and `master_apply_time`.", "name": "publication_time_millis", "required": false, "type": { @@ -157265,6 +157322,7 @@ } }, { + "description": "The cumulative amount of time spent constructing a publication context since the node started for publications that ultimately succeeded.\nThis statistic includes the time spent computing the difference between the current and new cluster state preparing a serialized representation of this difference.", "name": "context_construction_time", "required": false, "type": { @@ -157276,6 +157334,7 @@ } }, { + "description": "The cumulative amount of time, in milliseconds, spent constructing a publication context since the node started for publications that ultimately succeeded.\nThis statistic includes the time spent computing the difference between the current and new cluster state preparing a serialized representation of this difference.", "name": "context_construction_time_millis", "required": false, "type": { @@ -157296,6 +157355,7 @@ } }, { + "description": "The cumulative amount of time spent waiting for a successful cluster state update to commit, which measures the time from the start of each publication until a majority of the master-eligible nodes have written the state to disk and confirmed the write to the elected master.", "name": "commit_time", "required": false, "type": { @@ -157307,6 +157367,7 @@ } }, { + "description": "The cumulative amount of time, in milliseconds, spent waiting for a successful cluster state update to commit, which measures the time from the start of each publication until a majority of the master-eligible nodes have written the state to disk and confirmed the write to the elected master.", "name": "commit_time_millis", "required": false, "type": { @@ -157327,6 +157388,7 @@ } }, { + "description": "The cumulative amount of time spent waiting for a successful cluster state update to complete, which measures the time from the start of each publication until all the other nodes have notified the elected master that they have applied the cluster state.", "name": "completion_time", "required": false, "type": { @@ -157338,6 +157400,7 @@ } }, { + "description": "The cumulative amount of time, in milliseconds, spent waiting for a successful cluster state update to complete, which measures the time from the start of each publication until all the other nodes have notified the elected master that they have applied the cluster state.", "name": "completion_time_millis", "required": false, "type": { @@ -157358,6 +157421,7 @@ } }, { + "description": "The cumulative amount of time spent successfully applying cluster state updates on the elected master since the node started.", "name": "master_apply_time", "required": false, "type": { @@ -157369,6 +157433,7 @@ } }, { + "description": "The cumulative amount of time, in milliseconds, spent successfully applying cluster state updates on the elected master since the node started.", "name": "master_apply_time_millis", "required": false, "type": { @@ -157389,6 +157454,7 @@ } }, { + "description": "The cumulative amount of time spent notifying listeners of a no-op cluster state update since the node started.", "name": "notification_time", "required": false, "type": { @@ -157400,6 +157466,7 @@ } }, { + "description": "The cumulative amount of time, in milliseconds, spent notifying listeners of a no-op cluster state update since the node started.", "name": "notification_time_millis", "required": false, "type": { @@ -157420,7 +157487,7 @@ } } ], - "specLocation": "nodes/_types/Stats.ts#L126-L142" + "specLocation": "nodes/_types/Stats.ts#L278-L343" }, { "kind": "interface", @@ -157474,7 +157541,7 @@ } } ], - "specLocation": "nodes/_types/Stats.ts#L397-L402" + "specLocation": "nodes/_types/Stats.ts#L997-L1002" }, { "kind": "interface", @@ -157610,7 +157677,7 @@ } } ], - "specLocation": "nodes/_types/Stats.ts#L218-L227" + "specLocation": "nodes/_types/Stats.ts#L539-L548" }, { "kind": "interface", @@ -157620,6 +157687,7 @@ }, "properties": [ { + "description": "The `cpuacct` control group to which the Elasticsearch process belongs.", "name": "control_group", "required": false, "type": { @@ -157631,6 +157699,7 @@ } }, { + "description": "The total CPU time, in nanoseconds, consumed by all tasks in the same cgroup as the Elasticsearch process.", "name": "usage_nanos", "required": false, "type": { @@ -157651,7 +157720,7 @@ } } ], - "specLocation": "nodes/_types/Stats.ts#L194-L197" + "specLocation": "nodes/_types/Stats.ts#L476-L485" }, { "kind": "interface", @@ -157661,6 +157730,7 @@ }, "properties": [ { + "description": "Total amount of disk space available to this Java virtual machine on this file store.", "name": "available", "required": false, "type": { @@ -157672,6 +157742,7 @@ } }, { + "description": "Total number of bytes available to this Java virtual machine on this file store.", "name": "available_in_bytes", "required": false, "type": { @@ -157760,6 +157831,7 @@ } }, { + "description": "Total amount of unallocated disk space in the file store.", "name": "free", "required": false, "type": { @@ -157771,6 +157843,7 @@ } }, { + "description": "Total number of unallocated bytes in the file store.", "name": "free_in_bytes", "required": false, "type": { @@ -157782,6 +157855,7 @@ } }, { + "description": "Mount point of the file store (ex: /dev/sda2).", "name": "mount", "required": false, "type": { @@ -157793,6 +157867,7 @@ } }, { + "description": "Path to the file store.", "name": "path", "required": false, "type": { @@ -157804,6 +157879,7 @@ } }, { + "description": "Total size of the file store.", "name": "total", "required": false, "type": { @@ -157815,6 +157891,7 @@ } }, { + "description": "Total size of the file store in bytes.", "name": "total_in_bytes", "required": false, "type": { @@ -157826,6 +157903,7 @@ } }, { + "description": "Type of the file store (ex: ext4).", "name": "type", "required": false, "type": { @@ -157837,7 +157915,7 @@ } } ], - "specLocation": "nodes/_types/Stats.ts#L229-L246" + "specLocation": "nodes/_types/Stats.ts#L550-L594" }, { "kind": "interface", @@ -157847,6 +157925,7 @@ }, "properties": [ { + "description": "Contains statistics for the cluster state queue of the node.", "name": "cluster_state_queue", "required": false, "type": { @@ -157858,6 +157937,7 @@ } }, { + "description": "Contains statistics for the published cluster states of the node.", "name": "published_cluster_states", "required": false, "type": { @@ -157869,6 +157949,7 @@ } }, { + "description": "Contains low-level statistics about how long various activities took during cluster state updates while the node was the elected master.\nOmitted if the node is not master-eligible.\nEvery field whose name ends in `_time` within this object is also represented as a raw number of milliseconds in a field whose name ends in `_time_millis`.\nThe human-readable fields with a `_time` suffix are only returned if requested with the `?human=true` query parameter.", "name": "cluster_state_update", "required": false, "type": { @@ -157913,7 +157994,7 @@ } } ], - "specLocation": "nodes/_types/Stats.ts#L82-L88" + "specLocation": "nodes/_types/Stats.ts#L201-L219" }, { "inherits": { @@ -157929,6 +158010,7 @@ }, "properties": [ { + "description": "Percentage of free memory.", "name": "free_percent", "required": false, "type": { @@ -157940,6 +158022,7 @@ } }, { + "description": "Percentage of used memory.", "name": "used_percent", "required": false, "type": { @@ -157951,7 +158034,7 @@ } } ], - "specLocation": "nodes/_types/Stats.ts#L261-L264" + "specLocation": "nodes/_types/Stats.ts#L622-L631" }, { "kind": "interface", @@ -157961,6 +158044,7 @@ }, "properties": [ { + "description": "List of all file stores.", "name": "data", "required": false, "type": { @@ -157975,6 +158059,7 @@ } }, { + "description": "Last time the file stores statistics were refreshed.\nRecorded in milliseconds since the Unix Epoch.", "name": "timestamp", "required": false, "type": { @@ -157986,6 +158071,7 @@ } }, { + "description": "Contains statistics for all file stores of the node.", "name": "total", "required": false, "type": { @@ -157997,6 +158083,7 @@ } }, { + "description": "Contains I/O statistics for the node.", "name": "io_stats", "required": false, "type": { @@ -158008,7 +158095,7 @@ } } ], - "specLocation": "nodes/_types/Stats.ts#L286-L291" + "specLocation": "nodes/_types/Stats.ts#L698-L716" }, { "kind": "interface", @@ -158018,6 +158105,7 @@ }, "properties": [ { + "description": "Total disk space available to this Java virtual machine on all file stores.\nDepending on OS or process level restrictions, this might appear less than `free`.\nThis is the actual amount of free disk space the Elasticsearch node can utilise.", "name": "available", "required": false, "type": { @@ -158029,6 +158117,7 @@ } }, { + "description": "Total number of bytes available to this Java virtual machine on all file stores.\nDepending on OS or process level restrictions, this might appear less than `free_in_bytes`.\nThis is the actual amount of free disk space the Elasticsearch node can utilise.", "name": "available_in_bytes", "required": false, "type": { @@ -158040,6 +158129,7 @@ } }, { + "description": "Total unallocated disk space in all file stores.", "name": "free", "required": false, "type": { @@ -158051,6 +158141,7 @@ } }, { + "description": "Total number of unallocated bytes in all file stores.", "name": "free_in_bytes", "required": false, "type": { @@ -158062,6 +158153,7 @@ } }, { + "description": "Total size of all file stores.", "name": "total", "required": false, "type": { @@ -158073,6 +158165,7 @@ } }, { + "description": "Total size of all file stores in bytes.", "name": "total_in_bytes", "required": false, "type": { @@ -158084,7 +158177,7 @@ } } ], - "specLocation": "nodes/_types/Stats.ts#L307-L314" + "specLocation": "nodes/_types/Stats.ts#L757-L786" }, { "kind": "interface", @@ -158094,6 +158187,7 @@ }, "properties": [ { + "description": "Contains statistics about JVM garbage collectors for the node.", "name": "collectors", "required": false, "type": { @@ -158116,7 +158210,7 @@ } } ], - "specLocation": "nodes/_types/Stats.ts#L363-L365" + "specLocation": "nodes/_types/Stats.ts#L923-L928" }, { "kind": "interface", @@ -158126,6 +158220,7 @@ }, "properties": [ { + "description": "Total number of JVM garbage collectors that collect objects.", "name": "collection_count", "required": false, "type": { @@ -158137,6 +158232,7 @@ } }, { + "description": "Total time spent by JVM collecting objects.", "name": "collection_time", "required": false, "type": { @@ -158148,6 +158244,7 @@ } }, { + "description": "Total time, in milliseconds, spent by JVM collecting objects.", "name": "collection_time_in_millis", "required": false, "type": { @@ -158159,7 +158256,7 @@ } } ], - "specLocation": "nodes/_types/Stats.ts#L367-L371" + "specLocation": "nodes/_types/Stats.ts#L930-L943" }, { "kind": "interface", @@ -158169,6 +158266,7 @@ }, "properties": [ { + "description": "Current number of open HTTP connections for the node.", "name": "current_open", "required": false, "type": { @@ -158180,6 +158278,7 @@ } }, { + "description": "Total number of HTTP connections opened for the node.", "name": "total_opened", "required": false, "type": { @@ -158191,6 +158290,7 @@ } }, { + "description": "Information on current and recently-closed HTTP client connections.\nClients that have been closed longer than the `http`.`client_stats`.`closed_channels`.`max_age` setting will not be represented here.", "name": "clients", "required": false, "type": { @@ -158205,7 +158305,7 @@ } } ], - "specLocation": "nodes/_types/Stats.ts#L266-L270" + "specLocation": "nodes/_types/Stats.ts#L633-L647" }, { "kind": "interface", @@ -158215,6 +158315,7 @@ }, "properties": [ { + "description": "Contains statistics for memory consumption from indexing load.", "name": "memory", "required": false, "type": { @@ -158226,7 +158327,7 @@ } } ], - "specLocation": "nodes/_types/Stats.ts#L55-L57" + "specLocation": "nodes/_types/Stats.ts#L116-L121" }, { "kind": "interface", @@ -158236,6 +158337,7 @@ }, "properties": [ { + "description": "Configured memory limit for the indexing requests.\nReplica requests have an automatic limit that is 1.5x this value.", "name": "limit", "required": false, "type": { @@ -158247,6 +158349,7 @@ } }, { + "description": "Configured memory limit, in bytes, for the indexing requests.\nReplica requests have an automatic limit that is 1.5x this value.", "name": "limit_in_bytes", "required": false, "type": { @@ -158258,6 +158361,7 @@ } }, { + "description": "Contains statistics for current indexing load.", "name": "current", "required": false, "type": { @@ -158269,6 +158373,7 @@ } }, { + "description": "Contains statistics for the cumulative indexing load since the node started.", "name": "total", "required": false, "type": { @@ -158280,7 +158385,7 @@ } } ], - "specLocation": "nodes/_types/Stats.ts#L59-L64" + "specLocation": "nodes/_types/Stats.ts#L123-L142" }, { "kind": "interface", @@ -158290,6 +158395,7 @@ }, "properties": [ { + "description": "Contains statistics about ingest pipelines for the node.", "name": "pipelines", "required": false, "type": { @@ -158312,6 +158418,7 @@ } }, { + "description": "Contains statistics about ingest operations for the node.", "name": "total", "required": false, "type": { @@ -158323,7 +158430,7 @@ } } ], - "specLocation": "nodes/_types/Stats.ts#L144-L147" + "specLocation": "nodes/_types/Stats.ts#L345-L354" }, { "kind": "interface", @@ -158333,6 +158440,7 @@ }, "properties": [ { + "description": "Total number of documents ingested during the lifetime of this node.", "name": "count", "required": false, "type": { @@ -158344,6 +158452,7 @@ } }, { + "description": "Total number of documents currently being ingested.", "name": "current", "required": false, "type": { @@ -158355,6 +158464,7 @@ } }, { + "description": "Total number of failed ingest operations during the lifetime of this node.", "name": "failed", "required": false, "type": { @@ -158366,6 +158476,7 @@ } }, { + "description": "Total number of ingest processors.", "name": "processors", "required": false, "type": { @@ -158391,6 +158502,7 @@ } }, { + "description": "Total time, in milliseconds, spent preprocessing ingest documents during the lifetime of this node.", "name": "time_in_millis", "required": false, "type": { @@ -158411,7 +158523,7 @@ } } ], - "specLocation": "nodes/_types/Stats.ts#L149-L155" + "specLocation": "nodes/_types/Stats.ts#L356-L377" }, { "kind": "interface", @@ -158421,6 +158533,7 @@ }, "properties": [ { + "description": "The Linux device name.", "name": "device_name", "required": false, "type": { @@ -158432,6 +158545,7 @@ } }, { + "description": "The total number of read and write operations for the device completed since starting Elasticsearch.", "name": "operations", "required": false, "type": { @@ -158443,6 +158557,7 @@ } }, { + "description": "The total number of kilobytes read for the device since starting Elasticsearch.", "name": "read_kilobytes", "required": false, "type": { @@ -158454,6 +158569,7 @@ } }, { + "description": "The total number of read operations for the device completed since starting Elasticsearch.", "name": "read_operations", "required": false, "type": { @@ -158465,6 +158581,7 @@ } }, { + "description": "The total number of kilobytes written for the device since starting Elasticsearch.", "name": "write_kilobytes", "required": false, "type": { @@ -158476,6 +158593,7 @@ } }, { + "description": "The total number of write operations for the device completed since starting Elasticsearch.", "name": "write_operations", "required": false, "type": { @@ -158487,7 +158605,7 @@ } } ], - "specLocation": "nodes/_types/Stats.ts#L298-L305" + "specLocation": "nodes/_types/Stats.ts#L730-L755" }, { "kind": "interface", @@ -158497,6 +158615,7 @@ }, "properties": [ { + "description": "Array of disk metrics for each device that is backing an Elasticsearch data path.\nThese disk metrics are probed periodically and averages between the last probe and the current probe are computed.", "name": "devices", "required": false, "type": { @@ -158511,6 +158630,7 @@ } }, { + "description": "The sum of the disk metrics for all devices that back an Elasticsearch data path.", "name": "total", "required": false, "type": { @@ -158522,7 +158642,7 @@ } } ], - "specLocation": "nodes/_types/Stats.ts#L293-L296" + "specLocation": "nodes/_types/Stats.ts#L718-L728" }, { "kind": "interface", @@ -158532,6 +158652,7 @@ }, "properties": [ { + "description": "Contains statistics about JVM buffer pools for the node.", "name": "buffer_pools", "required": false, "type": { @@ -158554,6 +158675,7 @@ } }, { + "description": "Contains statistics about classes loaded by JVM for the node.", "name": "classes", "required": false, "type": { @@ -158565,6 +158687,7 @@ } }, { + "description": "Contains statistics about JVM garbage collectors for the node.", "name": "gc", "required": false, "type": { @@ -158576,6 +158699,7 @@ } }, { + "description": "Contains JVM memory usage statistics for the node.", "name": "mem", "required": false, "type": { @@ -158587,6 +158711,7 @@ } }, { + "description": "Contains statistics about JVM thread usage for the node.", "name": "threads", "required": false, "type": { @@ -158598,6 +158723,7 @@ } }, { + "description": "Last time JVM statistics were refreshed.", "name": "timestamp", "required": false, "type": { @@ -158609,6 +158735,7 @@ } }, { + "description": "Human-readable JVM uptime.\nOnly returned if the `human` query parameter is `true`.", "name": "uptime", "required": false, "type": { @@ -158620,6 +158747,7 @@ } }, { + "description": "JVM uptime in milliseconds.", "name": "uptime_in_millis", "required": false, "type": { @@ -158631,7 +158759,7 @@ } } ], - "specLocation": "nodes/_types/Stats.ts#L324-L333" + "specLocation": "nodes/_types/Stats.ts#L811-L845" }, { "kind": "interface", @@ -158641,6 +158769,7 @@ }, "properties": [ { + "description": "Number of classes currently loaded by JVM.", "name": "current_loaded_count", "required": false, "type": { @@ -158652,6 +158781,7 @@ } }, { + "description": "Total number of classes loaded since the JVM started.", "name": "total_loaded_count", "required": false, "type": { @@ -158663,6 +158793,7 @@ } }, { + "description": "Total number of classes unloaded since the JVM started.", "name": "total_unloaded_count", "required": false, "type": { @@ -158674,7 +158805,7 @@ } } ], - "specLocation": "nodes/_types/Stats.ts#L357-L361" + "specLocation": "nodes/_types/Stats.ts#L908-L921" }, { "kind": "interface", @@ -158684,6 +158815,7 @@ }, "properties": [ { + "description": "Memory, in bytes, currently in use by the heap.", "name": "heap_used_in_bytes", "required": false, "type": { @@ -158695,6 +158827,7 @@ } }, { + "description": "Percentage of memory currently in use by the heap.", "name": "heap_used_percent", "required": false, "type": { @@ -158706,6 +158839,7 @@ } }, { + "description": "Amount of memory, in bytes, available for use by the heap.", "name": "heap_committed_in_bytes", "required": false, "type": { @@ -158717,6 +158851,7 @@ } }, { + "description": "Maximum amount of memory, in bytes, available for use by the heap.", "name": "heap_max_in_bytes", "required": false, "type": { @@ -158728,6 +158863,7 @@ } }, { + "description": "Non-heap memory used, in bytes.", "name": "non_heap_used_in_bytes", "required": false, "type": { @@ -158739,6 +158875,7 @@ } }, { + "description": "Amount of non-heap memory available, in bytes.", "name": "non_heap_committed_in_bytes", "required": false, "type": { @@ -158750,6 +158887,7 @@ } }, { + "description": "Contains statistics about heap memory usage for the node.", "name": "pools", "required": false, "type": { @@ -158772,7 +158910,7 @@ } } ], - "specLocation": "nodes/_types/Stats.ts#L335-L343" + "specLocation": "nodes/_types/Stats.ts#L847-L876" }, { "kind": "interface", @@ -158782,6 +158920,7 @@ }, "properties": [ { + "description": "Number of active threads in use by JVM.", "name": "count", "required": false, "type": { @@ -158793,6 +158932,7 @@ } }, { + "description": "Highest number of threads used by JVM.", "name": "peak_count", "required": false, "type": { @@ -158804,7 +158944,7 @@ } } ], - "specLocation": "nodes/_types/Stats.ts#L352-L355" + "specLocation": "nodes/_types/Stats.ts#L897-L906" }, { "kind": "interface", @@ -158836,7 +158976,7 @@ } } ], - "specLocation": "nodes/_types/Stats.ts#L157-L160" + "specLocation": "nodes/_types/Stats.ts#L379-L382" }, { "kind": "interface", @@ -158846,6 +158986,7 @@ }, "properties": [ { + "description": "If the amount of physical memory has been overridden using the `es`.`total_memory_bytes` system property then this reports the overridden value in bytes.\nOtherwise it reports the same value as `total_in_bytes`.", "name": "adjusted_total_in_bytes", "required": false, "type": { @@ -158923,6 +159064,7 @@ } }, { + "description": "Total amount of physical memory in bytes.", "name": "total_in_bytes", "required": false, "type": { @@ -158934,6 +159076,7 @@ } }, { + "description": "Amount of free physical memory in bytes.", "name": "free_in_bytes", "required": false, "type": { @@ -158945,6 +159088,7 @@ } }, { + "description": "Amount of used physical memory in bytes.", "name": "used_in_bytes", "required": false, "type": { @@ -158956,7 +159100,7 @@ } } ], - "specLocation": "nodes/_types/Stats.ts#L248-L259" + "specLocation": "nodes/_types/Stats.ts#L596-L620" }, { "kind": "interface", @@ -158966,6 +159110,7 @@ }, "properties": [ { + "description": "Number of buffer pools.", "name": "count", "required": false, "type": { @@ -158977,6 +159122,7 @@ } }, { + "description": "Total capacity of buffer pools.", "name": "total_capacity", "required": false, "type": { @@ -158988,6 +159134,7 @@ } }, { + "description": "Total capacity of buffer pools in bytes.", "name": "total_capacity_in_bytes", "required": false, "type": { @@ -158999,6 +159146,7 @@ } }, { + "description": "Size of buffer pools.", "name": "used", "required": false, "type": { @@ -159010,6 +159158,7 @@ } }, { + "description": "Size of buffer pools in bytes.", "name": "used_in_bytes", "required": false, "type": { @@ -159021,7 +159170,7 @@ } } ], - "specLocation": "nodes/_types/Stats.ts#L316-L322" + "specLocation": "nodes/_types/Stats.ts#L788-L809" }, { "kind": "interface", @@ -159174,7 +159323,7 @@ } } ], - "specLocation": "nodes/_types/Stats.ts#L373-L379" + "specLocation": "nodes/_types/Stats.ts#L945-L951" }, { "kind": "interface", @@ -159184,6 +159333,7 @@ }, "properties": [ { + "description": "Memory, in bytes, used by the heap.", "name": "used_in_bytes", "required": false, "type": { @@ -159195,6 +159345,7 @@ } }, { + "description": "Maximum amount of memory, in bytes, available for use by the heap.", "name": "max_in_bytes", "required": false, "type": { @@ -159206,6 +159357,7 @@ } }, { + "description": "Largest amount of memory, in bytes, historically used by the heap.", "name": "peak_used_in_bytes", "required": false, "type": { @@ -159217,6 +159369,7 @@ } }, { + "description": "Largest amount of memory, in bytes, historically used by the heap.", "name": "peak_max_in_bytes", "required": false, "type": { @@ -159228,7 +159381,7 @@ } } ], - "specLocation": "nodes/_types/Stats.ts#L345-L350" + "specLocation": "nodes/_types/Stats.ts#L878-L895" }, { "kind": "interface", @@ -159238,6 +159391,7 @@ }, "properties": [ { + "description": "Memory consumed by indexing requests in the coordinating, primary, or replica stage.", "name": "all", "required": false, "type": { @@ -159249,6 +159403,7 @@ } }, { + "description": "Memory consumed, in bytes, by indexing requests in the coordinating, primary, or replica stage.", "name": "all_in_bytes", "required": false, "type": { @@ -159260,6 +159415,7 @@ } }, { + "description": "Memory consumed by indexing requests in the coordinating or primary stage.\nThis value is not the sum of coordinating and primary as a node can reuse the coordinating memory if the primary stage is executed locally.", "name": "combined_coordinating_and_primary", "required": false, "type": { @@ -159271,6 +159427,7 @@ } }, { + "description": "Memory consumed, in bytes, by indexing requests in the coordinating or primary stage.\nThis value is not the sum of coordinating and primary as a node can reuse the coordinating memory if the primary stage is executed locally.", "name": "combined_coordinating_and_primary_in_bytes", "required": false, "type": { @@ -159282,6 +159439,7 @@ } }, { + "description": "Memory consumed by indexing requests in the coordinating stage.", "name": "coordinating", "required": false, "type": { @@ -159293,6 +159451,7 @@ } }, { + "description": "Memory consumed, in bytes, by indexing requests in the coordinating stage.", "name": "coordinating_in_bytes", "required": false, "type": { @@ -159304,6 +159463,7 @@ } }, { + "description": "Memory consumed by indexing requests in the primary stage.", "name": "primary", "required": false, "type": { @@ -159315,6 +159475,7 @@ } }, { + "description": "Memory consumed, in bytes, by indexing requests in the primary stage.", "name": "primary_in_bytes", "required": false, "type": { @@ -159326,6 +159487,7 @@ } }, { + "description": "Memory consumed by indexing requests in the replica stage.", "name": "replica", "required": false, "type": { @@ -159337,6 +159499,7 @@ } }, { + "description": "Memory consumed, in bytes, by indexing requests in the replica stage.", "name": "replica_in_bytes", "required": false, "type": { @@ -159348,6 +159511,7 @@ } }, { + "description": "Number of indexing requests rejected in the coordinating stage.", "name": "coordinating_rejections", "required": false, "type": { @@ -159359,6 +159523,7 @@ } }, { + "description": "Number of indexing requests rejected in the primary stage.", "name": "primary_rejections", "required": false, "type": { @@ -159370,6 +159535,7 @@ } }, { + "description": "Number of indexing requests rejected in the replica stage.", "name": "replica_rejections", "required": false, "type": { @@ -159381,7 +159547,7 @@ } } ], - "specLocation": "nodes/_types/Stats.ts#L66-L80" + "specLocation": "nodes/_types/Stats.ts#L144-L199" }, { "kind": "interface", @@ -159391,6 +159557,7 @@ }, "properties": [ { + "description": "Contains CPU statistics for the node.", "name": "cpu", "required": false, "type": { @@ -159402,6 +159569,7 @@ } }, { + "description": "Contains virtual memory statistics for the node.", "name": "mem", "required": false, "type": { @@ -159413,6 +159581,7 @@ } }, { + "description": "Number of opened file descriptors associated with the current or `-1` if not supported.", "name": "open_file_descriptors", "required": false, "type": { @@ -159424,6 +159593,7 @@ } }, { + "description": "Maximum number of file descriptors allowed on the system, or `-1` if not supported.", "name": "max_file_descriptors", "required": false, "type": { @@ -159435,6 +159605,7 @@ } }, { + "description": "Last time the statistics were refreshed.\nRecorded in milliseconds since the Unix Epoch.", "name": "timestamp", "required": false, "type": { @@ -159446,7 +159617,7 @@ } } ], - "specLocation": "nodes/_types/Stats.ts#L381-L387" + "specLocation": "nodes/_types/Stats.ts#L953-L975" }, { "kind": "interface", @@ -159456,6 +159627,7 @@ }, "properties": [ { + "description": "Number of documents transformed by the processor.", "name": "count", "required": false, "type": { @@ -159467,6 +159639,7 @@ } }, { + "description": "Number of documents currently being transformed by the processor.", "name": "current", "required": false, "type": { @@ -159478,6 +159651,7 @@ } }, { + "description": "Number of failed operations for the processor.", "name": "failed", "required": false, "type": { @@ -159489,6 +159663,7 @@ } }, { + "description": "Time, in milliseconds, spent by the processor transforming documents.", "name": "time_in_millis", "required": false, "type": { @@ -159509,7 +159684,7 @@ } } ], - "specLocation": "nodes/_types/Stats.ts#L162-L167" + "specLocation": "nodes/_types/Stats.ts#L384-L401" }, { "kind": "interface", @@ -159519,6 +159694,7 @@ }, "properties": [ { + "description": "Number of published cluster states.", "name": "full_states", "required": false, "type": { @@ -159530,6 +159706,7 @@ } }, { + "description": "Number of incompatible differences between published cluster states.", "name": "incompatible_diffs", "required": false, "type": { @@ -159541,6 +159718,7 @@ } }, { + "description": "Number of compatible differences between published cluster states.", "name": "compatible_diffs", "required": false, "type": { @@ -159552,7 +159730,7 @@ } } ], - "specLocation": "nodes/_types/Stats.ts#L120-L124" + "specLocation": "nodes/_types/Stats.ts#L263-L276" }, { "kind": "interface", @@ -159615,7 +159793,7 @@ } } ], - "specLocation": "nodes/_types/Stats.ts#L94-L99" + "specLocation": "nodes/_types/Stats.ts#L225-L230" }, { "kind": "interface", @@ -159948,6 +160126,7 @@ }, "properties": [ { + "description": "Total number of times the script cache has evicted old data.", "name": "cache_evictions", "required": false, "type": { @@ -159959,6 +160138,7 @@ } }, { + "description": "Total number of times the script compilation circuit breaker has limited inline script compilations.", "name": "compilation_limit_triggered", "required": false, "type": { @@ -159970,6 +160150,7 @@ } }, { + "description": "Total number of inline script compilations performed by the node.", "name": "compilations", "required": false, "type": { @@ -159992,7 +160173,7 @@ } } ], - "specLocation": "nodes/_types/Stats.ts#L413-L418" + "specLocation": "nodes/_types/Stats.ts#L1031-L1045" }, { "kind": "interface", @@ -160002,6 +160183,7 @@ }, "properties": [ { + "description": "Total number of times the script cache has evicted old data.", "name": "cache_evictions", "required": false, "type": { @@ -160013,6 +160195,7 @@ } }, { + "description": "Total number of inline script compilations performed by the node.", "name": "compilations", "required": false, "type": { @@ -160024,6 +160207,7 @@ } }, { + "description": "Contains this recent history of script compilations.", "name": "compilations_history", "required": false, "type": { @@ -160046,6 +160230,7 @@ } }, { + "description": "Total number of times the script compilation circuit breaker has limited inline script compilations.", "name": "compilation_limit_triggered", "required": false, "type": { @@ -160071,7 +160256,7 @@ } } ], - "specLocation": "nodes/_types/Stats.ts#L389-L395" + "specLocation": "nodes/_types/Stats.ts#L977-L995" }, { "kind": "interface", @@ -160081,6 +160266,7 @@ }, "properties": [ { + "description": "Number of published cluster states.", "name": "full_states", "required": false, "type": { @@ -160103,7 +160289,7 @@ } } ], - "specLocation": "nodes/_types/Stats.ts#L101-L104" + "specLocation": "nodes/_types/Stats.ts#L232-L238" }, { "kind": "interface", @@ -160168,7 +160354,7 @@ } } ], - "specLocation": "nodes/_types/Stats.ts#L106-L112" + "specLocation": "nodes/_types/Stats.ts#L240-L246" }, { "kind": "interface", @@ -160178,6 +160364,7 @@ }, "properties": [ { + "description": "Statistics about adaptive replica selection.", "name": "adaptive_selection", "required": false, "type": { @@ -160200,6 +160387,7 @@ } }, { + "description": "Statistics about the field data circuit breaker.", "name": "breakers", "required": false, "type": { @@ -160222,6 +160410,7 @@ } }, { + "description": "File system information, data path, free disk space, read/write stats.", "name": "fs", "required": false, "type": { @@ -160233,6 +160422,7 @@ } }, { + "description": "Network host for the node, based on the network host setting.", "name": "host", "required": false, "type": { @@ -160244,6 +160434,7 @@ } }, { + "description": "HTTP connection information.", "name": "http", "required": false, "type": { @@ -160255,6 +160446,7 @@ } }, { + "description": "Statistics about ingest preprocessing.", "name": "ingest", "required": false, "type": { @@ -160266,6 +160458,7 @@ } }, { + "description": "IP address and port for the node.", "name": "ip", "required": false, "type": { @@ -160292,6 +160485,7 @@ } }, { + "description": "JVM stats, memory pool information, garbage collection, buffer pools, number of loaded/unloaded classes.", "name": "jvm", "required": false, "type": { @@ -160303,6 +160497,7 @@ } }, { + "description": "Human-readable identifier for the node.\nBased on the node name setting.", "name": "name", "required": false, "type": { @@ -160314,6 +160509,7 @@ } }, { + "description": "Operating system stats, load average, mem, swap.", "name": "os", "required": false, "type": { @@ -160325,6 +160521,7 @@ } }, { + "description": "Process statistics, memory consumption, cpu usage, open file descriptors.", "name": "process", "required": false, "type": { @@ -160336,6 +160533,7 @@ } }, { + "description": "Roles assigned to the node.", "name": "roles", "required": false, "type": { @@ -160347,6 +160545,7 @@ } }, { + "description": "Contains script statistics for the node.", "name": "script", "required": false, "type": { @@ -160395,6 +160594,7 @@ } }, { + "description": "Statistics about each thread pool, including current size, queue and rejected tasks.", "name": "thread_pool", "required": false, "type": { @@ -160428,6 +160628,7 @@ } }, { + "description": "Transport statistics about sent and received bytes in cluster communication.", "name": "transport", "required": false, "type": { @@ -160439,6 +160640,7 @@ } }, { + "description": "Host and port for the transport layer, used for internal communication between nodes in a cluster.", "name": "transport_address", "required": false, "type": { @@ -160450,6 +160652,7 @@ } }, { + "description": "Contains a list of attributes for the node.", "name": "attributes", "required": false, "type": { @@ -160472,6 +160675,7 @@ } }, { + "description": "Contains node discovery statistics for the node.", "name": "discovery", "required": false, "type": { @@ -160483,6 +160687,7 @@ } }, { + "description": "Contains indexing pressure statistics for the node.", "name": "indexing_pressure", "required": false, "type": { @@ -160494,6 +160699,7 @@ } }, { + "description": "Indices stats about size, document count, indexing and deletion times, search times, field cache size, merges and flushes.", "name": "indices", "required": false, "type": { @@ -160505,7 +160711,7 @@ } } ], - "specLocation": "nodes/_types/Stats.ts#L30-L53" + "specLocation": "nodes/_types/Stats.ts#L30-L114" }, { "kind": "interface", @@ -160515,6 +160721,7 @@ }, "properties": [ { + "description": "Number of active threads in the thread pool.", "name": "active", "required": false, "type": { @@ -160526,6 +160733,7 @@ } }, { + "description": "Number of tasks completed by the thread pool executor.", "name": "completed", "required": false, "type": { @@ -160537,6 +160745,7 @@ } }, { + "description": "Highest number of active threads in the thread pool.", "name": "largest", "required": false, "type": { @@ -160548,6 +160757,7 @@ } }, { + "description": "Number of tasks in queue for the thread pool.", "name": "queue", "required": false, "type": { @@ -160559,6 +160769,7 @@ } }, { + "description": "Number of tasks rejected by the thread pool executor.", "name": "rejected", "required": false, "type": { @@ -160570,6 +160781,7 @@ } }, { + "description": "Number of threads in the thread pool.", "name": "threads", "required": false, "type": { @@ -160581,7 +160793,7 @@ } } ], - "specLocation": "nodes/_types/Stats.ts#L404-L411" + "specLocation": "nodes/_types/Stats.ts#L1004-L1029" }, { "kind": "interface", @@ -160591,6 +160803,7 @@ }, "properties": [ { + "description": "The distribution of the time spent handling each inbound message on a transport thread, represented as a histogram.", "name": "inbound_handling_time_histogram", "required": false, "type": { @@ -160605,6 +160818,7 @@ } }, { + "description": "The distribution of the time spent sending each outbound transport message on a transport thread, represented as a histogram.", "name": "outbound_handling_time_histogram", "required": false, "type": { @@ -160619,6 +160833,7 @@ } }, { + "description": "Total number of RX (receive) packets received by the node during internal cluster communication.", "name": "rx_count", "required": false, "type": { @@ -160630,6 +160845,7 @@ } }, { + "description": "Size of RX packets received by the node during internal cluster communication.", "name": "rx_size", "required": false, "type": { @@ -160641,6 +160857,7 @@ } }, { + "description": "Size, in bytes, of RX packets received by the node during internal cluster communication.", "name": "rx_size_in_bytes", "required": false, "type": { @@ -160652,6 +160869,7 @@ } }, { + "description": "Current number of inbound TCP connections used for internal communication between nodes.", "name": "server_open", "required": false, "type": { @@ -160663,6 +160881,7 @@ } }, { + "description": "Total number of TX (transmit) packets sent by the node during internal cluster communication.", "name": "tx_count", "required": false, "type": { @@ -160674,6 +160893,7 @@ } }, { + "description": "Size of TX packets sent by the node during internal cluster communication.", "name": "tx_size", "required": false, "type": { @@ -160685,6 +160905,7 @@ } }, { + "description": "Size, in bytes, of TX packets sent by the node during internal cluster communication.", "name": "tx_size_in_bytes", "required": false, "type": { @@ -160696,6 +160917,7 @@ } }, { + "description": "The cumulative number of outbound transport connections that this node has opened since it started.\nEach transport connection may comprise multiple TCP connections but is only counted once in this statistic.\nTransport connections are typically long-lived so this statistic should remain constant in a stable cluster.", "name": "total_outbound_connections", "required": false, "type": { @@ -160707,7 +160929,7 @@ } } ], - "specLocation": "nodes/_types/Stats.ts#L420-L431" + "specLocation": "nodes/_types/Stats.ts#L1047-L1090" }, { "kind": "interface", @@ -160717,6 +160939,7 @@ }, "properties": [ { + "description": "The number of times a transport thread took a period of time within the bounds of this bucket to handle an inbound message.", "name": "count", "required": false, "type": { @@ -160728,6 +160951,7 @@ } }, { + "description": "The exclusive upper bound of the bucket in milliseconds.\nMay be omitted on the last bucket if this bucket has no upper bound.", "name": "lt_millis", "required": false, "type": { @@ -160739,6 +160963,7 @@ } }, { + "description": "The inclusive lower bound of the bucket in milliseconds. May be omitted on the first bucket if this bucket has no lower bound.", "name": "ge_millis", "required": false, "type": { @@ -160750,7 +160975,7 @@ } } ], - "specLocation": "nodes/_types/Stats.ts#L433-L437" + "specLocation": "nodes/_types/Stats.ts#L1092-L1106" }, { "attachedBehaviors": [ @@ -164063,7 +164288,7 @@ "body": { "kind": "no_body" }, - "description": "Returns information about nodes in the cluster.", + "description": "Returns cluster nodes information.", "inherits": { "type": { "name": "RequestBase", @@ -164142,7 +164367,7 @@ } } ], - "specLocation": "nodes/info/NodesInfoRequest.ts#L24-L54" + "specLocation": "nodes/info/NodesInfoRequest.ts#L24-L55" }, { "body": { @@ -164219,6 +164444,7 @@ "kind": "properties", "properties": [ { + "description": "The password for the Elasticsearch keystore.", "name": "secure_settings_password", "required": false, "type": { @@ -164231,7 +164457,7 @@ } ] }, - "description": "Reloads secure settings.", + "description": "Reloads the keystore on nodes in the cluster.", "inherits": { "type": { "name": "RequestBase", @@ -164245,7 +164471,7 @@ }, "path": [ { - "description": "A comma-separated list of node IDs to span the reload/reinit call. Should stay empty because reloading usually involves all cluster nodes.", + "description": "The names of particular nodes in the cluster to target.", "name": "node_id", "required": false, "type": { @@ -164259,9 +164485,10 @@ ], "query": [ { - "description": "Explicit operation timeout", + "description": "Period to wait for a response.\nIf no response is received before the timeout expires, the request fails and returns an error.", "name": "timeout", "required": false, + "serverDefault": "30s", "type": { "kind": "instance_of", "type": { @@ -164271,7 +164498,7 @@ } } ], - "specLocation": "nodes/reload_secure_settings/ReloadSecureSettingsRequest.ts#L24-L38" + "specLocation": "nodes/reload_secure_settings/ReloadSecureSettingsRequest.ts#L24-L50" }, { "body": { @@ -164347,7 +164574,7 @@ "body": { "kind": "no_body" }, - "description": "Returns statistical information about nodes in the cluster.", + "description": "Returns cluster nodes statistics.", "inherits": { "type": { "name": "RequestBase", @@ -164513,9 +164740,10 @@ } }, { - "description": "If set to true segment stats will include stats for segments that are not currently loaded into memory", + "description": "If `true`, the response includes information from segments that are not loaded into memory.", "name": "include_unloaded_segments", "required": false, + "serverDefault": false, "type": { "kind": "instance_of", "type": { @@ -164525,7 +164753,7 @@ } } ], - "specLocation": "nodes/stats/NodesStatsRequest.ts#L24-L69" + "specLocation": "nodes/stats/NodesStatsRequest.ts#L24-L75" }, { "body": { @@ -164691,7 +164919,7 @@ "body": { "kind": "no_body" }, - "description": "Returns low-level information about REST actions usage on nodes.", + "description": "Returns information on the usage of features.", "inherits": { "type": { "name": "RequestBase", @@ -164717,7 +164945,7 @@ } }, { - "description": "Limit the information returned to the specified metrics", + "description": "Limits the information returned to the specific metrics.\nA comma-separated list of the following options: `_all`, `rest_actions`.", "name": "metric", "required": false, "type": { @@ -164731,9 +164959,10 @@ ], "query": [ { - "description": "Explicit operation timeout", + "description": "Period to wait for a response.\nIf no response is received before the timeout expires, the request fails and returns an error.", "name": "timeout", "required": false, + "serverDefault": "30s", "type": { "kind": "instance_of", "type": { @@ -164743,7 +164972,7 @@ } } ], - "specLocation": "nodes/usage/NodesUsageRequest.ts#L24-L38" + "specLocation": "nodes/usage/NodesUsageRequest.ts#L24-L49" }, { "body": { diff --git a/specification/nodes/_types/Stats.ts b/specification/nodes/_types/Stats.ts index 195583d1ff..fbdd0d649d 100644 --- a/specification/nodes/_types/Stats.ts +++ b/specification/nodes/_types/Stats.ts @@ -28,60 +28,191 @@ import { Duration, DurationValue, UnitMillis, UnitNanos } from '@_types/Time' // The node stats response can be filtered both by `metric` and `filter_path`, // every property needs to be optional to be compliant with the API behavior. export class Stats { + /** + * Statistics about adaptive replica selection. + */ adaptive_selection?: Dictionary + /** + * Statistics about the field data circuit breaker. + */ breakers?: Dictionary + /** + * File system information, data path, free disk space, read/write stats. + */ fs?: FileSystem + /** + * Network host for the node, based on the network host setting. + */ host?: Host + /** + * HTTP connection information. + */ http?: Http + /** + * Statistics about ingest preprocessing. + */ ingest?: Ingest + /** + * IP address and port for the node. + */ ip?: Ip | Ip[] + /** + * JVM stats, memory pool information, garbage collection, buffer pools, number of loaded/unloaded classes. + */ jvm?: Jvm + /** + * Human-readable identifier for the node. + * Based on the node name setting. + */ name?: Name + /** + * Operating system stats, load average, mem, swap. + */ os?: OperatingSystem + /** + * Process statistics, memory consumption, cpu usage, open file descriptors. + */ process?: Process + /** + * Roles assigned to the node. + */ roles?: NodeRoles + /** + * Contains script statistics for the node. + */ script?: Scripting script_cache?: Dictionary + /** + * Statistics about each thread pool, including current size, queue and rejected tasks. + */ thread_pool?: Dictionary timestamp?: long + /** + * Transport statistics about sent and received bytes in cluster communication. + */ transport?: Transport + /** + * Host and port for the transport layer, used for internal communication between nodes in a cluster. + */ transport_address?: TransportAddress + /** + * Contains a list of attributes for the node. + */ attributes?: Dictionary + /** + * Contains node discovery statistics for the node. + */ discovery?: Discovery + /** + * Contains indexing pressure statistics for the node. + */ indexing_pressure?: IndexingPressure + /** + * Indices stats about size, document count, indexing and deletion times, search times, field cache size, merges and flushes. + */ indices?: ShardStats } export class IndexingPressure { + /** + * Contains statistics for memory consumption from indexing load. + */ memory?: IndexingPressureMemory } export class IndexingPressureMemory { + /** + * Configured memory limit for the indexing requests. + * Replica requests have an automatic limit that is 1.5x this value. + */ limit?: ByteSize + /** + * Configured memory limit, in bytes, for the indexing requests. + * Replica requests have an automatic limit that is 1.5x this value. + */ limit_in_bytes?: long + /** + * Contains statistics for current indexing load. + */ current?: PressureMemory + /** + * Contains statistics for the cumulative indexing load since the node started. + */ total?: PressureMemory } export interface PressureMemory { + /** + * Memory consumed by indexing requests in the coordinating, primary, or replica stage. + */ all?: ByteSize + /** + * Memory consumed, in bytes, by indexing requests in the coordinating, primary, or replica stage. + */ all_in_bytes?: long + /** + * Memory consumed by indexing requests in the coordinating or primary stage. + * This value is not the sum of coordinating and primary as a node can reuse the coordinating memory if the primary stage is executed locally. + */ combined_coordinating_and_primary?: ByteSize + /** + * Memory consumed, in bytes, by indexing requests in the coordinating or primary stage. + * This value is not the sum of coordinating and primary as a node can reuse the coordinating memory if the primary stage is executed locally. + */ combined_coordinating_and_primary_in_bytes?: long + /** + * Memory consumed by indexing requests in the coordinating stage. + */ coordinating?: ByteSize + /** + * Memory consumed, in bytes, by indexing requests in the coordinating stage. + */ coordinating_in_bytes?: long + /** + * Memory consumed by indexing requests in the primary stage. + */ primary?: ByteSize + /** + * Memory consumed, in bytes, by indexing requests in the primary stage. + */ primary_in_bytes?: long + /** + * Memory consumed by indexing requests in the replica stage. + */ replica?: ByteSize + /** + * Memory consumed, in bytes, by indexing requests in the replica stage. + */ replica_in_bytes?: long + /** + * Number of indexing requests rejected in the coordinating stage. + */ coordinating_rejections?: long + /** + * Number of indexing requests rejected in the primary stage. + */ primary_rejections?: long + /** + * Number of indexing requests rejected in the replica stage. + */ replica_rejections?: long } export class Discovery { + /** + * Contains statistics for the cluster state queue of the node. + */ cluster_state_queue?: ClusterStateQueue + /** + * Contains statistics for the published cluster states of the node. + */ published_cluster_states?: PublishedClusterStates + /** + * Contains low-level statistics about how long various activities took during cluster state updates while the node was the elected master. + * Omitted if the node is not master-eligible. + * Every field whose name ends in `_time` within this object is also represented as a raw number of milliseconds in a field whose name ends in `_time_millis`. + * The human-readable fields with a `_time` suffix are only returned if requested with the `?human=true` query parameter. + */ cluster_state_update?: Dictionary serialized_cluster_states?: SerializedClusterState cluster_applier_stats?: ClusterAppliedStats @@ -99,6 +230,9 @@ export class Recording { } export class SerializedClusterState { + /** + * Number of published cluster states. + */ full_states?: SerializedClusterStateDetail diffs?: SerializedClusterStateDetail } @@ -112,45 +246,133 @@ export class SerializedClusterStateDetail { } export class ClusterStateQueue { + /** + * Total number of cluster states in queue. + */ total?: long + /** + * Number of pending cluster states in queue. + */ pending?: long + /** + * Number of committed cluster states in queue. + */ committed?: long } export class PublishedClusterStates { + /** + * Number of published cluster states. + */ full_states?: long + /** + * Number of incompatible differences between published cluster states. + */ incompatible_diffs?: long + /** + * Number of compatible differences between published cluster states. + */ compatible_diffs?: long } export class ClusterStateUpdate { + /** + * The number of cluster state update attempts that did not change the cluster state since the node started. + */ count: long + /** + * The cumulative amount of time spent computing no-op cluster state updates since the node started. + */ computation_time?: Duration + /** + * The cumulative amount of time, in milliseconds, spent computing no-op cluster state updates since the node started. + */ computation_time_millis?: DurationValue + /** + * The cumulative amount of time spent publishing cluster state updates which ultimately succeeded, which includes everything from the start of the publication (just after the computation of the new cluster state) until the publication has finished and the master node is ready to start processing the next state update. + * This includes the time measured by `context_construction_time`, `commit_time`, `completion_time` and `master_apply_time`. + */ publication_time?: Duration + /** + * The cumulative amount of time, in milliseconds, spent publishing cluster state updates which ultimately succeeded, which includes everything from the start of the publication (just after the computation of the new cluster state) until the publication has finished and the master node is ready to start processing the next state update. + * This includes the time measured by `context_construction_time`, `commit_time`, `completion_time` and `master_apply_time`. + */ publication_time_millis?: DurationValue + /** + * The cumulative amount of time spent constructing a publication context since the node started for publications that ultimately succeeded. + * This statistic includes the time spent computing the difference between the current and new cluster state preparing a serialized representation of this difference. + */ context_construction_time?: Duration + /** + * The cumulative amount of time, in milliseconds, spent constructing a publication context since the node started for publications that ultimately succeeded. + * This statistic includes the time spent computing the difference between the current and new cluster state preparing a serialized representation of this difference. + */ context_construction_time_millis?: DurationValue + /** + * The cumulative amount of time spent waiting for a successful cluster state update to commit, which measures the time from the start of each publication until a majority of the master-eligible nodes have written the state to disk and confirmed the write to the elected master. + */ commit_time?: Duration + /** + * The cumulative amount of time, in milliseconds, spent waiting for a successful cluster state update to commit, which measures the time from the start of each publication until a majority of the master-eligible nodes have written the state to disk and confirmed the write to the elected master. + */ commit_time_millis?: DurationValue + /** + * The cumulative amount of time spent waiting for a successful cluster state update to complete, which measures the time from the start of each publication until all the other nodes have notified the elected master that they have applied the cluster state. + */ completion_time?: Duration + /** + * The cumulative amount of time, in milliseconds, spent waiting for a successful cluster state update to complete, which measures the time from the start of each publication until all the other nodes have notified the elected master that they have applied the cluster state. + */ completion_time_millis?: DurationValue + /** + * The cumulative amount of time spent successfully applying cluster state updates on the elected master since the node started. + */ master_apply_time?: Duration + /** + * The cumulative amount of time, in milliseconds, spent successfully applying cluster state updates on the elected master since the node started. + */ master_apply_time_millis?: DurationValue + /** + * The cumulative amount of time spent notifying listeners of a no-op cluster state update since the node started. + */ notification_time?: Duration + /** + * The cumulative amount of time, in milliseconds, spent notifying listeners of a no-op cluster state update since the node started. + */ notification_time_millis?: DurationValue } export class Ingest { + /** + * Contains statistics about ingest pipelines for the node. + */ pipelines?: Dictionary + /** + * Contains statistics about ingest operations for the node. + */ total?: IngestTotal } export class IngestTotal { + /** + * Total number of documents ingested during the lifetime of this node. + */ count?: long + /** + * Total number of documents currently being ingested. + */ current?: long + /** + * Total number of failed ingest operations during the lifetime of this node. + */ failed?: long + /** + * Total number of ingest processors. + */ processors?: Dictionary[] + /** + * Total time, in milliseconds, spent preprocessing ingest documents during the lifetime of this node. + */ time_in_millis?: DurationValue } @@ -160,58 +382,157 @@ export class KeyedProcessor { } export class Processor { + /** + * Number of documents transformed by the processor. + */ count?: long + /** + * Number of documents currently being transformed by the processor. + */ current?: long + /** + * Number of failed operations for the processor. + */ failed?: long + /** + * Time, in milliseconds, spent by the processor transforming documents. + */ time_in_millis?: DurationValue } export class AdaptiveSelection { + /** + * The exponentially weighted moving average queue size of search requests on the keyed node. + */ avg_queue_size?: long + /** + * The exponentially weighted moving average response time of search requests on the keyed node. + */ avg_response_time?: Duration + /** + * The exponentially weighted moving average response time, in nanoseconds, of search requests on the keyed node. + */ avg_response_time_ns?: long + /** + * The exponentially weighted moving average service time of search requests on the keyed node. + */ avg_service_time?: Duration + /** + * The exponentially weighted moving average service time, in nanoseconds, of search requests on the keyed node. + */ avg_service_time_ns?: long + /** + * The number of outstanding search requests to the keyed node from the node these stats are for. + */ outgoing_searches?: long + /** + * The rank of this node; used for shard selection when routing search requests. + */ rank?: string } export class Breaker { + /** + * Estimated memory used for the operation. + */ estimated_size?: string + /** + * Estimated memory used, in bytes, for the operation. + */ estimated_size_in_bytes?: long + /** + * Memory limit for the circuit breaker. + */ limit_size?: string + /** + * Memory limit, in bytes, for the circuit breaker. + */ limit_size_in_bytes?: long + /** + * A constant that all estimates for the circuit breaker are multiplied with to calculate a final estimate. + */ overhead?: float + /** + * Total number of times the circuit breaker has been triggered and prevented an out of memory error. + */ tripped?: float } export class Cgroup { + /** + * Contains statistics about `cpuacct` control group for the node. + */ cpuacct?: CpuAcct + /** + * Contains statistics about `cpu` control group for the node. + */ cpu?: CgroupCpu + /** + * Contains statistics about the memory control group for the node. + */ memory?: CgroupMemory } export class CpuAcct { + /** + * The `cpuacct` control group to which the Elasticsearch process belongs. + */ control_group?: string + /** + * The total CPU time, in nanoseconds, consumed by all tasks in the same cgroup as the Elasticsearch process. + */ usage_nanos?: DurationValue } export class CgroupCpu { + /** + * The `cpu` control group to which the Elasticsearch process belongs. + */ control_group?: string + /** + * The period of time, in microseconds, for how regularly all tasks in the same cgroup as the Elasticsearch process should have their access to CPU resources reallocated. + */ cfs_period_micros?: integer + /** + * The total amount of time, in microseconds, for which all tasks in the same cgroup as the Elasticsearch process can run during one period `cfs_period_micros`. + */ cfs_quota_micros?: integer + /** + * Contains CPU statistics for the node. + */ stat?: CgroupCpuStat } export class CgroupCpuStat { + /** + * The number of reporting periods (as specified by `cfs_period_micros`) that have elapsed. + */ number_of_elapsed_periods?: long + /** + * The number of times all tasks in the same cgroup as the Elasticsearch process have been throttled. + */ number_of_times_throttled?: long + /** + * The total amount of time, in nanoseconds, for which all tasks in the same cgroup as the Elasticsearch process have been throttled. + */ time_throttled_nanos?: DurationValue } export class CgroupMemory { + /** + * The `memory` control group to which the Elasticsearch process belongs. + */ control_group?: string + /** + * The maximum amount of user memory (including file cache) allowed for all tasks in the same cgroup as the Elasticsearch process. + * This value can be too big to store in a `long`, so is returned as a string so that the value returned can exactly match what the underlying operating system interface returns. + * Any value that is too large to parse into a `long` almost certainly means no limit has been set for the cgroup. + */ limit_in_bytes?: string + /** + * The total current memory usage by processes in the cgroup, in bytes, by all tasks in the same cgroup as the Elasticsearch process. + * This value is stored as a string for consistency with `limit_in_bytes`. + */ usage_in_bytes?: string } @@ -227,7 +548,13 @@ export class Cpu { } export class DataPathStats { + /** + * Total amount of disk space available to this Java virtual machine on this file store. + */ available?: string + /** + * Total number of bytes available to this Java virtual machine on this file store. + */ available_in_bytes?: long disk_queue?: string disk_reads?: long @@ -236,16 +563,41 @@ export class DataPathStats { disk_writes?: long disk_write_size?: string disk_write_size_in_bytes?: long + /** + * Total amount of unallocated disk space in the file store. + */ free?: string + /** + * Total number of unallocated bytes in the file store. + */ free_in_bytes?: long + /** + * Mount point of the file store (for example: `/dev/sda2`). + */ mount?: string + /** + * Path to the file store. + */ path?: string + /** + * Total size of the file store. + */ total?: string + /** + * Total size of the file store in bytes. + */ total_in_bytes?: long + /** + * Type of the file store (ex: ext4). + */ type?: string } export class MemoryStats { + /** + * If the amount of physical memory has been overridden using the `es`.`total_memory_bytes` system property then this reports the overridden value in bytes. + * Otherwise it reports the same value as `total_in_bytes`. + */ adjusted_total_in_bytes?: long resident?: string resident_in_bytes?: long @@ -253,120 +605,340 @@ export class MemoryStats { share_in_bytes?: long total_virtual?: string total_virtual_in_bytes?: long + /** + * Total amount of physical memory in bytes. + */ total_in_bytes?: long + /** + * Amount of free physical memory in bytes. + */ free_in_bytes?: long + /** + * Amount of used physical memory in bytes. + */ used_in_bytes?: long } export class ExtendedMemoryStats extends MemoryStats { + /** + * Percentage of free memory. + */ free_percent?: integer + /** + * Percentage of used memory. + */ used_percent?: integer } export class Http { + /** + * Current number of open HTTP connections for the node. + */ current_open?: integer + /** + * Total number of HTTP connections opened for the node. + */ total_opened?: long + /** + * Information on current and recently-closed HTTP client connections. + * Clients that have been closed longer than the `http.client_stats.closed_channels.max_age` setting will not be represented here. + */ clients?: Client[] } export class Client { + /** + * Unique ID for the HTTP client. + */ id?: long + /** + * Reported agent for the HTTP client. + * If unavailable, this property is not included in the response. + */ agent?: string + /** + * Local address for the HTTP connection. + */ local_address?: string + /** + * Remote address for the HTTP connection. + */ remote_address?: string + /** + * The URI of the client’s most recent request. + */ last_uri?: string + /** + * Time at which the client opened the connection. + */ opened_time_millis?: long + /** + * Time at which the client closed the connection if the connection is closed. + */ closed_time_millis?: long + /** + * Time of the most recent request from this client. + */ last_request_time_millis?: long + /** + * Number of requests from this client. + */ request_count?: long + /** + * Cumulative size in bytes of all requests from this client. + */ request_size_bytes?: long + /** + * Value from the client’s `x-opaque-id` HTTP header. + * If unavailable, this property is not included in the response. + */ x_opaque_id?: string } export class FileSystem { + /** + * List of all file stores. + */ data?: DataPathStats[] + /** + * Last time the file stores statistics were refreshed. + * Recorded in milliseconds since the Unix Epoch. + */ timestamp?: long + /** + * Contains statistics for all file stores of the node. + */ total?: FileSystemTotal + /** + * Contains I/O statistics for the node. + */ io_stats?: IoStats } export class IoStats { + /** + * Array of disk metrics for each device that is backing an Elasticsearch data path. + * These disk metrics are probed periodically and averages between the last probe and the current probe are computed. + */ devices?: IoStatDevice[] + /** + * The sum of the disk metrics for all devices that back an Elasticsearch data path. + */ total?: IoStatDevice } export class IoStatDevice { + /** + * The Linux device name. + */ device_name?: string + /** + * The total number of read and write operations for the device completed since starting Elasticsearch. + */ operations?: long + /** + * The total number of kilobytes read for the device since starting Elasticsearch. + */ read_kilobytes?: long + /** + * The total number of read operations for the device completed since starting Elasticsearch. + */ read_operations?: long + /** + * The total number of kilobytes written for the device since starting Elasticsearch. + */ write_kilobytes?: long + /** + * The total number of write operations for the device completed since starting Elasticsearch. + */ write_operations?: long } export class FileSystemTotal { + /** + * Total disk space available to this Java virtual machine on all file stores. + * Depending on OS or process level restrictions, this might appear less than `free`. + * This is the actual amount of free disk space the Elasticsearch node can utilise. + */ available?: string + /** + * Total number of bytes available to this Java virtual machine on all file stores. + * Depending on OS or process level restrictions, this might appear less than `free_in_bytes`. + * This is the actual amount of free disk space the Elasticsearch node can utilise. + */ available_in_bytes?: long + /** + * Total unallocated disk space in all file stores. + */ free?: string + /** + * Total number of unallocated bytes in all file stores. + */ free_in_bytes?: long + /** + * Total size of all file stores. + */ total?: string + /** + * Total size of all file stores in bytes. + */ total_in_bytes?: long } export class NodeBufferPool { + /** + * Number of buffer pools. + */ count?: long + /** + * Total capacity of buffer pools. + */ total_capacity?: string + /** + * Total capacity of buffer pools in bytes. + */ total_capacity_in_bytes?: long + /** + * Size of buffer pools. + */ used?: string + /** + * Size of buffer pools in bytes. + */ used_in_bytes?: long } export class Jvm { + /** + * Contains statistics about JVM buffer pools for the node. + */ buffer_pools?: Dictionary + /** + * Contains statistics about classes loaded by JVM for the node. + */ classes?: JvmClasses + /** + * Contains statistics about JVM garbage collectors for the node. + */ gc?: GarbageCollector + /** + * Contains JVM memory usage statistics for the node. + */ mem?: JvmMemoryStats + /** + * Contains statistics about JVM thread usage for the node. + */ threads?: JvmThreads + /** + * Last time JVM statistics were refreshed. + */ timestamp?: long + /** + * Human-readable JVM uptime. + * Only returned if the `human` query parameter is `true`. + */ uptime?: string + /** + * JVM uptime in milliseconds. + */ uptime_in_millis?: long } export class JvmMemoryStats { + /** + * Memory, in bytes, currently in use by the heap. + */ heap_used_in_bytes?: long + /** + * Percentage of memory currently in use by the heap. + */ heap_used_percent?: long + /** + * Amount of memory, in bytes, available for use by the heap. + */ heap_committed_in_bytes?: long + /** + * Maximum amount of memory, in bytes, available for use by the heap. + */ heap_max_in_bytes?: long + /** + * Non-heap memory used, in bytes. + */ non_heap_used_in_bytes?: long + /** + * Amount of non-heap memory available, in bytes. + */ non_heap_committed_in_bytes?: long + /** + * Contains statistics about heap memory usage for the node. + */ pools?: Dictionary } export class Pool { + /** + * Memory, in bytes, used by the heap. + */ used_in_bytes?: long + /** + * Maximum amount of memory, in bytes, available for use by the heap. + */ max_in_bytes?: long + /** + * Largest amount of memory, in bytes, historically used by the heap. + */ peak_used_in_bytes?: long + /** + * Largest amount of memory, in bytes, historically used by the heap. + */ peak_max_in_bytes?: long } export class JvmThreads { + /** + * Number of active threads in use by JVM. + */ count?: long + /** + * Highest number of threads used by JVM. + */ peak_count?: long } export class JvmClasses { + /** + * Number of classes currently loaded by JVM. + */ current_loaded_count?: long + /** + * Total number of classes loaded since the JVM started. + */ total_loaded_count?: long + /** + * Total number of classes unloaded since the JVM started. + */ total_unloaded_count?: long } export class GarbageCollector { + /** + * Contains statistics about JVM garbage collectors for the node. + */ collectors?: Dictionary } export class GarbageCollectorTotal { + /** + * Total number of JVM garbage collectors that collect objects. + */ collection_count?: long + /** + * Total time spent by JVM collecting objects. + */ collection_time?: string + /** + * Total time, in milliseconds, spent by JVM collecting objects. + */ collection_time_in_millis?: long } @@ -379,17 +951,45 @@ export class OperatingSystem { } export class Process { + /** + * Contains CPU statistics for the node. + */ cpu?: Cpu + /** + * Contains virtual memory statistics for the node. + */ mem?: MemoryStats + /** + * Number of opened file descriptors associated with the current or `-1` if not supported. + */ open_file_descriptors?: integer + /** + * Maximum number of file descriptors allowed on the system, or `-1` if not supported. + */ max_file_descriptors?: integer + /** + * Last time the statistics were refreshed. + * Recorded in milliseconds since the Unix Epoch. + */ timestamp?: long } export class Scripting { + /** + * Total number of times the script cache has evicted old data. + */ cache_evictions?: long + /** + * Total number of inline script compilations performed by the node. + */ compilations?: long + /** + * Contains this recent history of script compilations. + */ compilations_history?: Dictionary + /** + * Total number of times the script compilation circuit breaker has limited inline script compilations. + */ compilation_limit_triggered?: long contexts?: Context[] } @@ -402,36 +1002,105 @@ export class Context { } export class ThreadCount { + /** + * Number of active threads in the thread pool. + */ active?: long + /** + * Number of tasks completed by the thread pool executor. + */ completed?: long + /** + * Highest number of active threads in the thread pool. + */ largest?: long + /** + * Number of tasks in queue for the thread pool. + */ queue?: long + /** + * Number of tasks rejected by the thread pool executor. + */ rejected?: long + /** + * Number of threads in the thread pool. + */ threads?: long } export class ScriptCache { + /** + * Total number of times the script cache has evicted old data. + */ cache_evictions?: long + /** + * Total number of times the script compilation circuit breaker has limited inline script compilations. + */ compilation_limit_triggered?: long + /** + * Total number of inline script compilations performed by the node. + */ compilations?: long context?: string } export class Transport { + /** + * The distribution of the time spent handling each inbound message on a transport thread, represented as a histogram. + */ inbound_handling_time_histogram?: TransportHistogram[] + /** + * The distribution of the time spent sending each outbound transport message on a transport thread, represented as a histogram. + */ outbound_handling_time_histogram?: TransportHistogram[] + /** + * Total number of RX (receive) packets received by the node during internal cluster communication. + */ rx_count?: long + /** + * Size of RX packets received by the node during internal cluster communication. + */ rx_size?: string + /** + * Size, in bytes, of RX packets received by the node during internal cluster communication. + */ rx_size_in_bytes?: long + /** + * Current number of inbound TCP connections used for internal communication between nodes. + */ server_open?: integer + /** + * Total number of TX (transmit) packets sent by the node during internal cluster communication. + */ tx_count?: long + /** + * Size of TX packets sent by the node during internal cluster communication. + */ tx_size?: string + /** + * Size, in bytes, of TX packets sent by the node during internal cluster communication. + */ tx_size_in_bytes?: long + /** + * The cumulative number of outbound transport connections that this node has opened since it started. + * Each transport connection may comprise multiple TCP connections but is only counted once in this statistic. + * Transport connections are typically long-lived so this statistic should remain constant in a stable cluster. + */ total_outbound_connections?: long } export class TransportHistogram { + /** + * The number of times a transport thread took a period of time within the bounds of this bucket to handle an inbound message. + */ count?: long + /** + * The exclusive upper bound of the bucket in milliseconds. + * May be omitted on the last bucket if this bucket has no upper bound. + */ lt_millis?: long + /** + * The inclusive lower bound of the bucket in milliseconds. May be omitted on the first bucket if this bucket has no lower bound. + */ ge_millis?: long } diff --git a/specification/nodes/info/NodesInfoRequest.ts b/specification/nodes/info/NodesInfoRequest.ts index f20734327b..bb1f8301d3 100644 --- a/specification/nodes/info/NodesInfoRequest.ts +++ b/specification/nodes/info/NodesInfoRequest.ts @@ -22,6 +22,7 @@ import { Metrics, NodeIds } from '@_types/common' import { Duration } from '@_types/Time' /** + * Returns cluster nodes information. * @rest_spec_name nodes.info * @availability stack since=1.3.0 stability=stable * @availability serverless stability=stable visibility=private diff --git a/specification/nodes/reload_secure_settings/ReloadSecureSettingsRequest.ts b/specification/nodes/reload_secure_settings/ReloadSecureSettingsRequest.ts index 4f57bf7e0e..4bb5b2864b 100644 --- a/specification/nodes/reload_secure_settings/ReloadSecureSettingsRequest.ts +++ b/specification/nodes/reload_secure_settings/ReloadSecureSettingsRequest.ts @@ -22,17 +22,29 @@ import { NodeIds, Password } from '@_types/common' import { Duration } from '@_types/Time' /** + * Reloads the keystore on nodes in the cluster. * @rest_spec_name nodes.reload_secure_settings * @availability stack since=6.5.0 stability=stable */ export interface Request extends RequestBase { path_parts: { + /** + * The names of particular nodes in the cluster to target. + */ node_id?: NodeIds } query_parameters: { + /** + * Period to wait for a response. + * If no response is received before the timeout expires, the request fails and returns an error. + * @server_default 30s + */ timeout?: Duration } body: { + /** + * The password for the Elasticsearch keystore. + */ secure_settings_password?: Password } } diff --git a/specification/nodes/stats/NodesStatsRequest.ts b/specification/nodes/stats/NodesStatsRequest.ts index a0c00bce02..766d3f695c 100644 --- a/specification/nodes/stats/NodesStatsRequest.ts +++ b/specification/nodes/stats/NodesStatsRequest.ts @@ -22,10 +22,12 @@ import { Fields, Level, Metrics, NodeIds } from '@_types/common' import { Duration } from '@_types/Time' /** + * Returns cluster nodes statistics. * @rest_spec_name nodes.stats * @availability stack since=0.0.0 stability=stable * @availability serverless stability=stable visibility=private * @doc_id cluster-nodes-stats + * @cluster_privileges monitor,manage */ export interface Request extends RequestBase { path_parts: { @@ -64,6 +66,10 @@ export interface Request extends RequestBase { timeout?: Duration /** A comma-separated list of document types for the indexing index metric. */ types?: string[] + /** + * If `true`, the response includes information from segments that are not loaded into memory. + * @server_default false + */ include_unloaded_segments?: boolean } } diff --git a/specification/nodes/usage/NodesUsageRequest.ts b/specification/nodes/usage/NodesUsageRequest.ts index bb4970f502..e9dfdf1a87 100644 --- a/specification/nodes/usage/NodesUsageRequest.ts +++ b/specification/nodes/usage/NodesUsageRequest.ts @@ -22,17 +22,28 @@ import { Metrics, NodeIds } from '@_types/common' import { Duration } from '@_types/Time' /** + * Returns information on the usage of features. * @rest_spec_name nodes.usage * @availability stack since=6.0.0 stability=stable * @availability serverless stability=stable visibility=private * @doc_id cluster-nodes-usage + * @cluster_privileges monitor,manage */ export interface Request extends RequestBase { path_parts: { node_id?: NodeIds + /** + * Limits the information returned to the specific metrics. + * A comma-separated list of the following options: `_all`, `rest_actions`. + */ metric?: Metrics } query_parameters: { + /** + * Period to wait for a response. + * If no response is received before the timeout expires, the request fails and returns an error. + * @server_default 30s + */ timeout?: Duration } }