Class PlanTelemetryManager
java.lang.Object
org.elasticsearch.xpack.esql.telemetry.PlanTelemetryManager
This class is responsible for publishing metrics related to ES|QL planning.
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic Stringstatic final StringQueries that use a command.static final StringNumber of times a command is used.static final Stringstatic Stringstatic final StringQueries that use a command.static final StringNumber of times a function is used.static Stringstatic final Stringthe query was executed successfully or not -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidpublish(PlanTelemetry metrics, boolean success) Publishes the collected metrics to the meter registry
-
Field Details
-
ESQL_PREFIX
-
FEATURES_PREFIX
-
FUNCTIONS_PREFIX
-
FEATURE_METRICS_ALL
Number of times a command is used. If the command is used N times in a single query, this counter will be incremented by N -
FEATURE_METRICS
Queries that use a command. If a query uses a command N times, this will still be incremented by one only -
FUNCTION_METRICS_ALL
Number of times a function is used. If the function is used N times in a single query, this counter will be incremented by N -
FUNCTION_METRICS
Queries that use a command. If a query uses a command N times, this will still be incremented by one only -
FEATURE_NAME
- See Also:
-
SUCCESS
the query was executed successfully or not- See Also:
-
-
Constructor Details
-
PlanTelemetryManager
-
-
Method Details
-
publish
Publishes the collected metrics to the meter registry
-