Class MetricsInfoExec

All Implemented Interfaces:
NamedWriteable, Writeable

public class MetricsInfoExec extends UnaryExec
Physical plan node for METRICS_INFO command.

Operates in two modes, similar to AggregateExec:

  • MetricsInfoExec.Mode.INITIAL — runs on data nodes. Extracts metric metadata from shards (_tsid, _timeseries_metadata, mappings) and produces one row per distinct metric signature within the local shards.
  • MetricsInfoExec.Mode.FINAL — runs on the coordinator. Receives per-data-node results via the exchange and merges rows that share the same metric signature, unioning multi-valued fields (data_stream, dimension_fields, etc.).