Skip to content

Commit bfb3718

Browse files
svilen-mihaylov-elasticafoucret
authored andcommitted
ESQL - Enable telemetry for COMPLETION command (elastic#127731)
1 parent 350ea7b commit bfb3718

File tree

2 files changed

+7
-0
lines changed

2 files changed

+7
-0
lines changed

docs/changelog/127731.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
pr: 127731
2+
summary: ESQL - Enable telemetry for COMPLETION command
3+
area: Search
4+
type: feature
5+
issues: []

x-pack/plugin/esql/src/main/java/org/elasticsearch/xpack/esql/plan/logical/inference/Completion.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212
import org.elasticsearch.common.io.stream.StreamOutput;
1313
import org.elasticsearch.inference.TaskType;
1414
import org.elasticsearch.xpack.esql.capabilities.PostAnalysisVerificationAware;
15+
import org.elasticsearch.xpack.esql.capabilities.TelemetryAware;
1516
import org.elasticsearch.xpack.esql.common.Failures;
1617
import org.elasticsearch.xpack.esql.core.expression.Attribute;
1718
import org.elasticsearch.xpack.esql.core.expression.AttributeSet;
@@ -37,6 +38,7 @@ public class Completion extends InferencePlan<Completion>
3738
implements
3839
GeneratingPlan<Completion>,
3940
SortAgnostic,
41+
TelemetryAware,
4042
PostAnalysisVerificationAware {
4143

4244
public static final String DEFAULT_OUTPUT_FIELD_NAME = "completion";

0 commit comments

Comments
 (0)