Class PlanTelemetry
java.lang.Object
org.elasticsearch.xpack.esql.telemetry.PlanTelemetry
This class is responsible for collecting metrics related to ES|QL planning.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidcommand(TelemetryAware command) commands()booleanWhether the analyzed plan touched an ES|QL external data source; gates the external-source query metrics at completion.voidexternalSource(boolean externalSource) Marks that the query touched an ES|QL external data source (anExternalRelationwas present in the analyzed plan).voidvoidvoidlinkedProjectsCount(int linkedProjectsCount) voidsettings()
-
Constructor Details
-
PlanTelemetry
-
-
Method Details
-
functionRegistry
-
linkedProjectsCount
public void linkedProjectsCount(int linkedProjectsCount) -
linkedProjectsCount
-
externalSource
public void externalSource(boolean externalSource) Marks that the query touched an ES|QL external data source (anExternalRelationwas present in the analyzed plan). Read at query completion so the coordinator emits external-source-scoped operational metrics only for queries that actually scanned an external source. -
externalSource
public boolean externalSource()Whether the analyzed plan touched an ES|QL external data source; gates the external-source query metrics at completion. -
command
-
function
-
function
-
setting
-
commands
-
functions
-
settings
-