Skip to content

Commit 0a5085b

Browse files
committed
sample metrics
1 parent c7cbf7e commit 0a5085b

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

x-pack/plugin/esql/src/main/java/org/elasticsearch/xpack/esql/telemetry/FeatureMetric.java

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@
3131
import org.elasticsearch.xpack.esql.plan.logical.Rename;
3232
import org.elasticsearch.xpack.esql.plan.logical.Row;
3333
import org.elasticsearch.xpack.esql.plan.logical.RrfScoreEval;
34+
import org.elasticsearch.xpack.esql.plan.logical.Sample;
3435
import org.elasticsearch.xpack.esql.plan.logical.UnresolvedRelation;
3536
import org.elasticsearch.xpack.esql.plan.logical.inference.Completion;
3637
import org.elasticsearch.xpack.esql.plan.logical.inference.Rerank;
@@ -68,7 +69,8 @@ public enum FeatureMetric {
6869
INSIST(Insist.class::isInstance),
6970
FORK(Fork.class::isInstance),
7071
RRF(RrfScoreEval.class::isInstance),
71-
COMPLETION(Completion.class::isInstance);
72+
COMPLETION(Completion.class::isInstance),
73+
SAMPLE(Sample.class::isInstance);
7274

7375
/**
7476
* List here plans we want to exclude from telemetry

0 commit comments

Comments
 (0)