Class Metrics
java.lang.Object
org.elasticsearch.xpack.esql.telemetry.Metrics
Class encapsulating the metrics collected for ESQL
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidfailed(QueryMetric metric) Increments the "failed" counter for a metricvoidinc(FeatureMetric metric) voidincFunctionMetric(Class<?> functionType) stats()voidtotal(QueryMetric metric) Increments the "total" counter for a metric This method should be called only once per query.
-
Field Details
-
QPREFIX
-
FPREFIX
-
FUNC_PREFIX
-
-
Constructor Details
-
Metrics
-
-
Method Details
-
total
Increments the "total" counter for a metric This method should be called only once per query. -
failed
Increments the "failed" counter for a metric -
inc
-
incFunctionMetric
-
stats
-