Skip to content

Commit

Permalink
Revert "Add tests/fix docs for nodes info API (#79223)"
Browse files Browse the repository at this point in the history
This reverts commit bcda164.
  • Loading branch information
DaveCTurner committed Oct 15, 2021
1 parent bcda164 commit f6777d5
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 512 deletions.
30 changes: 9 additions & 21 deletions docs/reference/cluster/nodes-info.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -46,28 +46,18 @@ comma-separated list, such as `http,ingest`.
[%collapsible%open]
.Valid values for `<metric>`
====
`aggregations`::
Information about the available types of aggregation.
`http`::
Information about the HTTP interface of this node.
`indices`::
+
--
Node-level configuration related to indexing:
* `total_indexing_buffer`: the maximum size of the indexing buffer on this node.
--
HTTP connection information.
`ingest`::
Information about ingest pipelines and processors.
`jvm`::
JVM information, including its name, its version, and its configuration.
JVM stats, memory pool information, garbage collection, buffer pools, number of
loaded/unloaded classes.
`os`::
Operating system information, including its name and version.
Operating system stats, load average, mem, swap.
`plugins`::
+
Expand All @@ -84,25 +74,23 @@ process
--
`process`::
Process information, including the numeric process ID.
Process statistics, memory consumption, cpu usage, open file descriptors.
`settings`::
Lists all node settings in use as defined in the `elasticsearch.yml` file.
`thread_pool`::
Information about the configuration of each thread pool.
Statistics about each thread pool, including current size, queue and rejected
tasks
`transport`::
Information about the transport interface of the node.
Transport statistics about sent and received bytes in cluster communication.
====

If you use the full `GET /_nodes/<node_id>/<metric>` form of this API then you
can also request the metric `_all` to retrieve all metrics, or you can request
the metric `_none` to suppress all metrics and retrieve only the identity of
the node.

include::{es-repo-dir}/rest-api/common-parms.asciidoc[tag=node-id]


[[cluster-nodes-info-api-response-body]]
==== {api-response-body-title}

Expand Down
14 changes: 4 additions & 10 deletions rest-api-spec/src/main/resources/rest-api-spec/api/nodes.info.json
Original file line number Diff line number Diff line change
Expand Up @@ -46,11 +46,9 @@
"transport",
"http",
"plugins",
"ingest",
"indices",
"aggregations"
"ingest"
],
"description":"A comma-separated list of metrics you wish returned. Leave empty to return all metrics."
"description":"A comma-separated list of metrics you wish returned. Leave empty to return all."
}
}
},
Expand All @@ -75,13 +73,9 @@
"transport",
"http",
"plugins",
"ingest",
"indices",
"aggregations",
"_all",
"_none"
"ingest"
],
"description":"A comma-separated list of metrics you wish returned. Use `_all` to retrieve all metrics and `_none` to retrieve the node identity without any additional metrics."
"description":"A comma-separated list of metrics you wish returned. Leave empty to return all."
}
}
}
Expand Down

0 comments on commit f6777d5

Please sign in to comment.