OpenSearch/docs/reference/cluster
Tal Levy 4be54402de
[7.x] Add ingest info to Cluster Stats (#48485) (#48661)
* Add ingest info to Cluster Stats (#48485)

This commit enhances the ClusterStatsNodes response to include global
processor usage stats on a per-processor basis.

example output:

```
...
    "processor_stats": {
      "gsub": {
        "count": 0,
        "failed": 0
        "current": 0
        "time_in_millis": 0
      },
      "script": {
        "count": 0,
        "failed": 0
        "current": 0,
        "time_in_millis": 0
      }
    }
...
```

The purpose for this enhancement is to make it easier to collect stats on how specific processors are being used across the cluster beyond the current per-node usage statistics that currently exist in node stats.

Closes #46146.

* fix BWC of ingest stats

The introduction of processor types into IngestStats had a bug.
It was set to `null` and set as the key to the map. This would
throw a NPE. This commit resolves this by setting all the processor
types from previous versions that are not serializing it out to
`_NOT_AVAILABLE`.
2019-10-31 14:36:54 -07:00
..
allocation-explain.asciidoc [DOCS] Sort cluster API docs alphabetically (#48198) 2019-10-22 12:28:39 -05:00
get-settings.asciidoc [DOCS] Sort cluster API docs alphabetically (#48198) 2019-10-22 12:28:39 -05:00
health.asciidoc [DOCS] Sort cluster API docs alphabetically (#48198) 2019-10-22 12:28:39 -05:00
nodes-hot-threads.asciidoc [DOCS] Sort cluster API docs alphabetically (#48198) 2019-10-22 12:28:39 -05:00
nodes-info.asciidoc [DOCS] Sort cluster API docs alphabetically (#48198) 2019-10-22 12:28:39 -05:00
nodes-reload-secure-settings.asciidoc [DOCS] [2 of 5] Change // CONSOLE comments to [source,console] (#46353) (#46502) 2019-09-09 13:38:14 -04:00
nodes-stats.asciidoc [DOCS] Sort cluster API docs alphabetically (#48198) 2019-10-22 12:28:39 -05:00
nodes-usage.asciidoc [DOCS] Sort cluster API docs alphabetically (#48198) 2019-10-22 12:28:39 -05:00
pending.asciidoc [DOCS] Sort cluster API docs alphabetically (#48198) 2019-10-22 12:28:39 -05:00
remote-info.asciidoc [DOCS] Sort cluster API docs alphabetically (#48198) 2019-10-22 12:28:39 -05:00
reroute.asciidoc [DOCS] Sort cluster API docs alphabetically (#48198) 2019-10-22 12:28:39 -05:00
state.asciidoc [DOCS] Sort cluster API docs alphabetically (#48198) 2019-10-22 12:28:39 -05:00
stats.asciidoc [7.x] Add ingest info to Cluster Stats (#48485) (#48661) 2019-10-31 14:36:54 -07:00
tasks.asciidoc [DOCS] Comment out tag in Task Managment API Docs so it isn't rendered. (#47618) 2019-10-05 12:48:51 -04:00
update-settings.asciidoc [DOCS] Sort cluster API docs alphabetically (#48198) 2019-10-22 12:28:39 -05:00
voting-exclusions.asciidoc [DOCS] Sort cluster API docs alphabetically (#48198) 2019-10-22 12:28:39 -05:00