---
setup:
- skip:
    features:
    - "arbitrary_key"
    - "headers"
    - "allowed_warnings_regex"
---
_all metrics:
- do:
    nodes.info:
      node_id: "_master"
      metric: "_all"
    headers:
      Content-Type: "application/vnd.elasticsearch+json;compatible-with=8"
      Accept: "application/vnd.elasticsearch+json;compatible-with=8"
    allowed_warnings_regex:
    - "Use of the \\[max_size\\] rollover condition has been deprecated in favour\
      \ of the \\[max_primary_shard_size\\] condition and will be removed in a later\
      \ version"
    - "Parameter \\[confidence_interval\\] in \\[index_options\\] for dense_vector\
      \ field \\[[^\\]]+\\] is deprecated and will be removed in a future version"
- set:
    nodes._arbitrary_key_: "node_id"
- is_true: "nodes.$node_id.attributes"
- is_true: "nodes.$node_id.build_flavor"
- is_true: "nodes.$node_id.build_hash"
- is_true: "nodes.$node_id.build_type"
- is_true: "nodes.$node_id.host"
- is_true: "nodes.$node_id.ip"
- is_true: "nodes.$node_id.name"
- is_true: "nodes.$node_id.roles"
- is_true: "nodes.$node_id.transport_address"
- is_true: "nodes.$node_id.version"
- is_true: "nodes.$node_id.aggregations"
- is_true: "nodes.$node_id.http"
- is_true: "nodes.$node_id.ingest"
- is_true: "nodes.$node_id.jvm"
- is_true: "nodes.$node_id.modules"
- is_true: "nodes.$node_id.os"
- is_true: "nodes.$node_id.plugins"
- is_true: "nodes.$node_id.process"
- is_true: "nodes.$node_id.settings"
- is_true: "nodes.$node_id.thread_pool"
- is_true: "nodes.$node_id.total_indexing_buffer"
- is_true: "nodes.$node_id.transport"
---
settings metric:
- do:
    nodes.info:
      node_id: "_master"
      metric: "settings"
    headers:
      Content-Type: "application/vnd.elasticsearch+json;compatible-with=8"
      Accept: "application/vnd.elasticsearch+json;compatible-with=8"
    allowed_warnings_regex:
    - "Use of the \\[max_size\\] rollover condition has been deprecated in favour\
      \ of the \\[max_primary_shard_size\\] condition and will be removed in a later\
      \ version"
    - "Parameter \\[confidence_interval\\] in \\[index_options\\] for dense_vector\
      \ field \\[[^\\]]+\\] is deprecated and will be removed in a future version"
- set:
    nodes._arbitrary_key_: "node_id"
- is_true: "nodes.$node_id.attributes"
- is_true: "nodes.$node_id.build_flavor"
- is_true: "nodes.$node_id.build_hash"
- is_true: "nodes.$node_id.build_type"
- is_true: "nodes.$node_id.host"
- is_true: "nodes.$node_id.ip"
- is_true: "nodes.$node_id.name"
- is_true: "nodes.$node_id.roles"
- is_true: "nodes.$node_id.transport_address"
- is_true: "nodes.$node_id.version"
- is_false: "nodes.$node_id.aggregations"
- is_false: "nodes.$node_id.http"
- is_false: "nodes.$node_id.ingest"
- is_false: "nodes.$node_id.jvm"
- is_false: "nodes.$node_id.modules"
- is_false: "nodes.$node_id.os"
- is_false: "nodes.$node_id.plugins"
- is_false: "nodes.$node_id.process"
- is_true: "nodes.$node_id.settings"
- is_false: "nodes.$node_id.thread_pool"
- is_false: "nodes.$node_id.total_indexing_buffer"
- is_false: "nodes.$node_id.transport"
---
os metric:
- do:
    nodes.info:
      node_id: "_master"
      metric: "os"
    headers:
      Content-Type: "application/vnd.elasticsearch+json;compatible-with=8"
      Accept: "application/vnd.elasticsearch+json;compatible-with=8"
    allowed_warnings_regex:
    - "Use of the \\[max_size\\] rollover condition has been deprecated in favour\
      \ of the \\[max_primary_shard_size\\] condition and will be removed in a later\
      \ version"
    - "Parameter \\[confidence_interval\\] in \\[index_options\\] for dense_vector\
      \ field \\[[^\\]]+\\] is deprecated and will be removed in a future version"
- set:
    nodes._arbitrary_key_: "node_id"
- is_true: "nodes.$node_id.attributes"
- is_true: "nodes.$node_id.build_flavor"
- is_true: "nodes.$node_id.build_hash"
- is_true: "nodes.$node_id.build_type"
- is_true: "nodes.$node_id.host"
- is_true: "nodes.$node_id.ip"
- is_true: "nodes.$node_id.name"
- is_true: "nodes.$node_id.roles"
- is_true: "nodes.$node_id.transport_address"
- is_true: "nodes.$node_id.version"
- is_false: "nodes.$node_id.aggregations"
- is_false: "nodes.$node_id.http"
- is_false: "nodes.$node_id.ingest"
- is_false: "nodes.$node_id.jvm"
- is_false: "nodes.$node_id.modules"
- is_true: "nodes.$node_id.os"
- is_false: "nodes.$node_id.plugins"
- is_false: "nodes.$node_id.process"
- is_false: "nodes.$node_id.settings"
- is_false: "nodes.$node_id.thread_pool"
- is_false: "nodes.$node_id.total_indexing_buffer"
- is_false: "nodes.$node_id.transport"
---
process metric:
- do:
    nodes.info:
      node_id: "_master"
      metric: "process"
    headers:
      Content-Type: "application/vnd.elasticsearch+json;compatible-with=8"
      Accept: "application/vnd.elasticsearch+json;compatible-with=8"
    allowed_warnings_regex:
    - "Use of the \\[max_size\\] rollover condition has been deprecated in favour\
      \ of the \\[max_primary_shard_size\\] condition and will be removed in a later\
      \ version"
    - "Parameter \\[confidence_interval\\] in \\[index_options\\] for dense_vector\
      \ field \\[[^\\]]+\\] is deprecated and will be removed in a future version"
- set:
    nodes._arbitrary_key_: "node_id"
- is_true: "nodes.$node_id.attributes"
- is_true: "nodes.$node_id.build_flavor"
- is_true: "nodes.$node_id.build_hash"
- is_true: "nodes.$node_id.build_type"
- is_true: "nodes.$node_id.host"
- is_true: "nodes.$node_id.ip"
- is_true: "nodes.$node_id.name"
- is_true: "nodes.$node_id.roles"
- is_true: "nodes.$node_id.transport_address"
- is_true: "nodes.$node_id.version"
- is_false: "nodes.$node_id.aggregations"
- is_false: "nodes.$node_id.http"
- is_false: "nodes.$node_id.ingest"
- is_false: "nodes.$node_id.jvm"
- is_false: "nodes.$node_id.modules"
- is_false: "nodes.$node_id.os"
- is_false: "nodes.$node_id.plugins"
- is_true: "nodes.$node_id.process"
- is_false: "nodes.$node_id.settings"
- is_false: "nodes.$node_id.thread_pool"
- is_false: "nodes.$node_id.total_indexing_buffer"
- is_false: "nodes.$node_id.transport"
---
jvm metric:
- do:
    nodes.info:
      node_id: "_master"
      metric: "jvm"
    headers:
      Content-Type: "application/vnd.elasticsearch+json;compatible-with=8"
      Accept: "application/vnd.elasticsearch+json;compatible-with=8"
    allowed_warnings_regex:
    - "Use of the \\[max_size\\] rollover condition has been deprecated in favour\
      \ of the \\[max_primary_shard_size\\] condition and will be removed in a later\
      \ version"
    - "Parameter \\[confidence_interval\\] in \\[index_options\\] for dense_vector\
      \ field \\[[^\\]]+\\] is deprecated and will be removed in a future version"
- set:
    nodes._arbitrary_key_: "node_id"
- is_true: "nodes.$node_id.attributes"
- is_true: "nodes.$node_id.build_flavor"
- is_true: "nodes.$node_id.build_hash"
- is_true: "nodes.$node_id.build_type"
- is_true: "nodes.$node_id.host"
- is_true: "nodes.$node_id.ip"
- is_true: "nodes.$node_id.name"
- is_true: "nodes.$node_id.roles"
- is_true: "nodes.$node_id.transport_address"
- is_true: "nodes.$node_id.version"
- is_false: "nodes.$node_id.aggregations"
- is_false: "nodes.$node_id.http"
- is_false: "nodes.$node_id.ingest"
- is_true: "nodes.$node_id.jvm"
- is_false: "nodes.$node_id.modules"
- is_false: "nodes.$node_id.os"
- is_false: "nodes.$node_id.plugins"
- is_false: "nodes.$node_id.process"
- is_false: "nodes.$node_id.settings"
- is_false: "nodes.$node_id.thread_pool"
- is_false: "nodes.$node_id.total_indexing_buffer"
- is_false: "nodes.$node_id.transport"
---
thread_pool metric:
- do:
    nodes.info:
      node_id: "_master"
      metric: "thread_pool"
    headers:
      Content-Type: "application/vnd.elasticsearch+json;compatible-with=8"
      Accept: "application/vnd.elasticsearch+json;compatible-with=8"
    allowed_warnings_regex:
    - "Use of the \\[max_size\\] rollover condition has been deprecated in favour\
      \ of the \\[max_primary_shard_size\\] condition and will be removed in a later\
      \ version"
    - "Parameter \\[confidence_interval\\] in \\[index_options\\] for dense_vector\
      \ field \\[[^\\]]+\\] is deprecated and will be removed in a future version"
- set:
    nodes._arbitrary_key_: "node_id"
- is_true: "nodes.$node_id.attributes"
- is_true: "nodes.$node_id.build_flavor"
- is_true: "nodes.$node_id.build_hash"
- is_true: "nodes.$node_id.build_type"
- is_true: "nodes.$node_id.host"
- is_true: "nodes.$node_id.ip"
- is_true: "nodes.$node_id.name"
- is_true: "nodes.$node_id.roles"
- is_true: "nodes.$node_id.transport_address"
- is_true: "nodes.$node_id.version"
- is_false: "nodes.$node_id.aggregations"
- is_false: "nodes.$node_id.http"
- is_false: "nodes.$node_id.ingest"
- is_false: "nodes.$node_id.jvm"
- is_false: "nodes.$node_id.modules"
- is_false: "nodes.$node_id.os"
- is_false: "nodes.$node_id.plugins"
- is_false: "nodes.$node_id.process"
- is_false: "nodes.$node_id.settings"
- is_true: "nodes.$node_id.thread_pool"
- is_false: "nodes.$node_id.total_indexing_buffer"
- is_false: "nodes.$node_id.transport"
---
transport metric:
- do:
    nodes.info:
      node_id: "_master"
      metric: "transport"
    headers:
      Content-Type: "application/vnd.elasticsearch+json;compatible-with=8"
      Accept: "application/vnd.elasticsearch+json;compatible-with=8"
    allowed_warnings_regex:
    - "Use of the \\[max_size\\] rollover condition has been deprecated in favour\
      \ of the \\[max_primary_shard_size\\] condition and will be removed in a later\
      \ version"
    - "Parameter \\[confidence_interval\\] in \\[index_options\\] for dense_vector\
      \ field \\[[^\\]]+\\] is deprecated and will be removed in a future version"
- set:
    nodes._arbitrary_key_: "node_id"
- is_true: "nodes.$node_id.attributes"
- is_true: "nodes.$node_id.build_flavor"
- is_true: "nodes.$node_id.build_hash"
- is_true: "nodes.$node_id.build_type"
- is_true: "nodes.$node_id.host"
- is_true: "nodes.$node_id.ip"
- is_true: "nodes.$node_id.name"
- is_true: "nodes.$node_id.roles"
- is_true: "nodes.$node_id.transport_address"
- is_true: "nodes.$node_id.version"
- is_false: "nodes.$node_id.aggregations"
- is_false: "nodes.$node_id.http"
- is_false: "nodes.$node_id.ingest"
- is_false: "nodes.$node_id.jvm"
- is_false: "nodes.$node_id.modules"
- is_false: "nodes.$node_id.os"
- is_false: "nodes.$node_id.plugins"
- is_false: "nodes.$node_id.process"
- is_false: "nodes.$node_id.settings"
- is_false: "nodes.$node_id.thread_pool"
- is_false: "nodes.$node_id.total_indexing_buffer"
- is_true: "nodes.$node_id.transport"
---
http metric:
- do:
    nodes.info:
      node_id: "_master"
      metric: "http"
    headers:
      Content-Type: "application/vnd.elasticsearch+json;compatible-with=8"
      Accept: "application/vnd.elasticsearch+json;compatible-with=8"
    allowed_warnings_regex:
    - "Use of the \\[max_size\\] rollover condition has been deprecated in favour\
      \ of the \\[max_primary_shard_size\\] condition and will be removed in a later\
      \ version"
    - "Parameter \\[confidence_interval\\] in \\[index_options\\] for dense_vector\
      \ field \\[[^\\]]+\\] is deprecated and will be removed in a future version"
- set:
    nodes._arbitrary_key_: "node_id"
- is_true: "nodes.$node_id.attributes"
- is_true: "nodes.$node_id.build_flavor"
- is_true: "nodes.$node_id.build_hash"
- is_true: "nodes.$node_id.build_type"
- is_true: "nodes.$node_id.host"
- is_true: "nodes.$node_id.ip"
- is_true: "nodes.$node_id.name"
- is_true: "nodes.$node_id.roles"
- is_true: "nodes.$node_id.transport_address"
- is_true: "nodes.$node_id.version"
- is_false: "nodes.$node_id.aggregations"
- is_true: "nodes.$node_id.http"
- is_false: "nodes.$node_id.ingest"
- is_false: "nodes.$node_id.jvm"
- is_false: "nodes.$node_id.modules"
- is_false: "nodes.$node_id.os"
- is_false: "nodes.$node_id.plugins"
- is_false: "nodes.$node_id.process"
- is_false: "nodes.$node_id.settings"
- is_false: "nodes.$node_id.thread_pool"
- is_false: "nodes.$node_id.total_indexing_buffer"
- is_false: "nodes.$node_id.transport"
---
plugins metric:
- do:
    nodes.info:
      node_id: "_master"
      metric: "plugins"
    headers:
      Content-Type: "application/vnd.elasticsearch+json;compatible-with=8"
      Accept: "application/vnd.elasticsearch+json;compatible-with=8"
    allowed_warnings_regex:
    - "Use of the \\[max_size\\] rollover condition has been deprecated in favour\
      \ of the \\[max_primary_shard_size\\] condition and will be removed in a later\
      \ version"
    - "Parameter \\[confidence_interval\\] in \\[index_options\\] for dense_vector\
      \ field \\[[^\\]]+\\] is deprecated and will be removed in a future version"
- set:
    nodes._arbitrary_key_: "node_id"
- is_true: "nodes.$node_id.attributes"
- is_true: "nodes.$node_id.build_flavor"
- is_true: "nodes.$node_id.build_hash"
- is_true: "nodes.$node_id.build_type"
- is_true: "nodes.$node_id.host"
- is_true: "nodes.$node_id.ip"
- is_true: "nodes.$node_id.name"
- is_true: "nodes.$node_id.roles"
- is_true: "nodes.$node_id.transport_address"
- is_true: "nodes.$node_id.version"
- is_false: "nodes.$node_id.aggregations"
- is_false: "nodes.$node_id.http"
- is_false: "nodes.$node_id.ingest"
- is_false: "nodes.$node_id.jvm"
- is_true: "nodes.$node_id.modules"
- is_false: "nodes.$node_id.os"
- is_true: "nodes.$node_id.plugins"
- is_false: "nodes.$node_id.process"
- is_false: "nodes.$node_id.settings"
- is_false: "nodes.$node_id.thread_pool"
- is_false: "nodes.$node_id.total_indexing_buffer"
- is_false: "nodes.$node_id.transport"
---
ingest metric:
- do:
    nodes.info:
      node_id: "_master"
      metric: "ingest"
    headers:
      Content-Type: "application/vnd.elasticsearch+json;compatible-with=8"
      Accept: "application/vnd.elasticsearch+json;compatible-with=8"
    allowed_warnings_regex:
    - "Use of the \\[max_size\\] rollover condition has been deprecated in favour\
      \ of the \\[max_primary_shard_size\\] condition and will be removed in a later\
      \ version"
    - "Parameter \\[confidence_interval\\] in \\[index_options\\] for dense_vector\
      \ field \\[[^\\]]+\\] is deprecated and will be removed in a future version"
- set:
    nodes._arbitrary_key_: "node_id"
- is_true: "nodes.$node_id.attributes"
- is_true: "nodes.$node_id.build_flavor"
- is_true: "nodes.$node_id.build_hash"
- is_true: "nodes.$node_id.build_type"
- is_true: "nodes.$node_id.host"
- is_true: "nodes.$node_id.ip"
- is_true: "nodes.$node_id.name"
- is_true: "nodes.$node_id.roles"
- is_true: "nodes.$node_id.transport_address"
- is_true: "nodes.$node_id.version"
- is_false: "nodes.$node_id.aggregations"
- is_false: "nodes.$node_id.http"
- is_true: "nodes.$node_id.ingest"
- is_false: "nodes.$node_id.jvm"
- is_false: "nodes.$node_id.modules"
- is_false: "nodes.$node_id.os"
- is_false: "nodes.$node_id.plugins"
- is_false: "nodes.$node_id.process"
- is_false: "nodes.$node_id.settings"
- is_false: "nodes.$node_id.thread_pool"
- is_false: "nodes.$node_id.total_indexing_buffer"
- is_false: "nodes.$node_id.transport"
---
indices metric:
- do:
    nodes.info:
      node_id: "_master"
      metric: "indices"
    headers:
      Content-Type: "application/vnd.elasticsearch+json;compatible-with=8"
      Accept: "application/vnd.elasticsearch+json;compatible-with=8"
    allowed_warnings_regex:
    - "Use of the \\[max_size\\] rollover condition has been deprecated in favour\
      \ of the \\[max_primary_shard_size\\] condition and will be removed in a later\
      \ version"
    - "Parameter \\[confidence_interval\\] in \\[index_options\\] for dense_vector\
      \ field \\[[^\\]]+\\] is deprecated and will be removed in a future version"
- set:
    nodes._arbitrary_key_: "node_id"
- is_true: "nodes.$node_id.attributes"
- is_true: "nodes.$node_id.build_flavor"
- is_true: "nodes.$node_id.build_hash"
- is_true: "nodes.$node_id.build_type"
- is_true: "nodes.$node_id.host"
- is_true: "nodes.$node_id.ip"
- is_true: "nodes.$node_id.name"
- is_true: "nodes.$node_id.roles"
- is_true: "nodes.$node_id.transport_address"
- is_true: "nodes.$node_id.version"
- is_false: "nodes.$node_id.aggregations"
- is_false: "nodes.$node_id.http"
- is_false: "nodes.$node_id.ingest"
- is_false: "nodes.$node_id.jvm"
- is_false: "nodes.$node_id.modules"
- is_false: "nodes.$node_id.os"
- is_false: "nodes.$node_id.plugins"
- is_false: "nodes.$node_id.process"
- is_false: "nodes.$node_id.settings"
- is_false: "nodes.$node_id.thread_pool"
- is_true: "nodes.$node_id.total_indexing_buffer"
- is_false: "nodes.$node_id.transport"
---
aggregations metric:
- do:
    nodes.info:
      node_id: "_master"
      metric: "aggregations"
    headers:
      Content-Type: "application/vnd.elasticsearch+json;compatible-with=8"
      Accept: "application/vnd.elasticsearch+json;compatible-with=8"
    allowed_warnings_regex:
    - "Use of the \\[max_size\\] rollover condition has been deprecated in favour\
      \ of the \\[max_primary_shard_size\\] condition and will be removed in a later\
      \ version"
    - "Parameter \\[confidence_interval\\] in \\[index_options\\] for dense_vector\
      \ field \\[[^\\]]+\\] is deprecated and will be removed in a future version"
- set:
    nodes._arbitrary_key_: "node_id"
- is_true: "nodes.$node_id.attributes"
- is_true: "nodes.$node_id.build_flavor"
- is_true: "nodes.$node_id.build_hash"
- is_true: "nodes.$node_id.build_type"
- is_true: "nodes.$node_id.host"
- is_true: "nodes.$node_id.ip"
- is_true: "nodes.$node_id.name"
- is_true: "nodes.$node_id.roles"
- is_true: "nodes.$node_id.transport_address"
- is_true: "nodes.$node_id.version"
- is_true: "nodes.$node_id.aggregations"
- is_false: "nodes.$node_id.http"
- is_false: "nodes.$node_id.ingest"
- is_false: "nodes.$node_id.jvm"
- is_false: "nodes.$node_id.modules"
- is_false: "nodes.$node_id.os"
- is_false: "nodes.$node_id.plugins"
- is_false: "nodes.$node_id.process"
- is_false: "nodes.$node_id.settings"
- is_false: "nodes.$node_id.thread_pool"
- is_false: "nodes.$node_id.total_indexing_buffer"
- is_false: "nodes.$node_id.transport"
---
lists of metrics:
- do:
    nodes.info:
      node_id: "_master"
      metric: "settings,os"
    headers:
      Content-Type: "application/vnd.elasticsearch+json;compatible-with=8"
      Accept: "application/vnd.elasticsearch+json;compatible-with=8"
    allowed_warnings_regex:
    - "Use of the \\[max_size\\] rollover condition has been deprecated in favour\
      \ of the \\[max_primary_shard_size\\] condition and will be removed in a later\
      \ version"
    - "Parameter \\[confidence_interval\\] in \\[index_options\\] for dense_vector\
      \ field \\[[^\\]]+\\] is deprecated and will be removed in a future version"
- set:
    nodes._arbitrary_key_: "node_id"
- is_true: "nodes.$node_id.attributes"
- is_true: "nodes.$node_id.build_flavor"
- is_true: "nodes.$node_id.build_hash"
- is_true: "nodes.$node_id.build_type"
- is_true: "nodes.$node_id.host"
- is_true: "nodes.$node_id.ip"
- is_true: "nodes.$node_id.name"
- is_true: "nodes.$node_id.roles"
- is_true: "nodes.$node_id.transport_address"
- is_true: "nodes.$node_id.version"
- is_false: "nodes.$node_id.aggregations"
- is_false: "nodes.$node_id.http"
- is_false: "nodes.$node_id.ingest"
- is_false: "nodes.$node_id.jvm"
- is_false: "nodes.$node_id.modules"
- is_true: "nodes.$node_id.os"
- is_false: "nodes.$node_id.plugins"
- is_false: "nodes.$node_id.process"
- is_true: "nodes.$node_id.settings"
- is_false: "nodes.$node_id.thread_pool"
- is_false: "nodes.$node_id.total_indexing_buffer"
- is_false: "nodes.$node_id.transport"
---
no metrics:
- do:
    nodes.info:
      node_id: "_master"
      metric: "_none"
    headers:
      Content-Type: "application/vnd.elasticsearch+json;compatible-with=8"
      Accept: "application/vnd.elasticsearch+json;compatible-with=8"
    allowed_warnings_regex:
    - "Use of the \\[max_size\\] rollover condition has been deprecated in favour\
      \ of the \\[max_primary_shard_size\\] condition and will be removed in a later\
      \ version"
    - "Parameter \\[confidence_interval\\] in \\[index_options\\] for dense_vector\
      \ field \\[[^\\]]+\\] is deprecated and will be removed in a future version"
- set:
    nodes._arbitrary_key_: "node_id"
- is_true: "nodes.$node_id.attributes"
- is_true: "nodes.$node_id.build_flavor"
- is_true: "nodes.$node_id.build_hash"
- is_true: "nodes.$node_id.build_type"
- is_true: "nodes.$node_id.host"
- is_true: "nodes.$node_id.ip"
- is_true: "nodes.$node_id.name"
- is_true: "nodes.$node_id.roles"
- is_true: "nodes.$node_id.transport_address"
- is_true: "nodes.$node_id.version"
- is_false: "nodes.$node_id.aggregations"
- is_false: "nodes.$node_id.http"
- is_false: "nodes.$node_id.ingest"
- is_false: "nodes.$node_id.jvm"
- is_false: "nodes.$node_id.modules"
- is_false: "nodes.$node_id.os"
- is_false: "nodes.$node_id.plugins"
- is_false: "nodes.$node_id.process"
- is_false: "nodes.$node_id.settings"
- is_false: "nodes.$node_id.thread_pool"
- is_false: "nodes.$node_id.total_indexing_buffer"
- is_false: "nodes.$node_id.transport"
