Skip to content

Commit 8996133

Browse files
committed
add tags for ex
1 parent 80b8454 commit 8996133

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

x-pack/plugin/esql/src/main/java/org/elasticsearch/xpack/esql/expression/function/aggregate/Delta.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ public class Delta extends TimeSeriesAggregateFunction implements OptionalArgume
4848
description = "Calculates the absolute change of a gauge field in a time window.",
4949
appliesTo = { @FunctionAppliesTo(lifeCycle = FunctionAppliesToLifecycle.PREVIEW, version = "9.2.0") },
5050
preview = true,
51-
examples = { @Example(file = "k8s-timeseries-delta", tag = "*") },
51+
examples = { @Example(file = "k8s-timeseries-delta", tag = "delta_ts_agg") },
5252
note = "Available with the [TS](/reference/query-languages/esql/commands/source-commands.md#esql-ts) command"
5353
)
5454
public Delta(Source source, @Param(name = "field", type = { "long", "integer", "double" }) Expression field) {

x-pack/plugin/esql/src/main/java/org/elasticsearch/xpack/esql/expression/function/aggregate/Idelta.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ public class Idelta extends TimeSeriesAggregateFunction implements OptionalArgum
5050
+ "This function is very similar to delta, but is more responsive to recent changes.",
5151
appliesTo = { @FunctionAppliesTo(lifeCycle = FunctionAppliesToLifecycle.PREVIEW, version = "9.2.0") },
5252
preview = true,
53-
examples = { @Example(file = "k8s-timeseries-idelta", tag = "*") }
53+
examples = { @Example(file = "k8s-timeseries-idelta", tag = "ts_command_v0") }
5454
)
5555
public Idelta(Source source, @Param(name = "field", type = { "long", "integer", "double" }) Expression field) {
5656
this(source, field, new UnresolvedAttribute(source, "@timestamp"));

x-pack/plugin/esql/src/main/java/org/elasticsearch/xpack/esql/expression/function/aggregate/Increase.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ public class Increase extends TimeSeriesAggregateFunction implements OptionalArg
5353
description = "Calculates the absolute increase of a counter field in a time window.",
5454
appliesTo = { @FunctionAppliesTo(lifeCycle = FunctionAppliesToLifecycle.PREVIEW, version = "9.2.0") },
5555
preview = true,
56-
examples = { @Example(file = "k8s-timeseries-increase", tag = "*") }
56+
examples = { @Example(file = "k8s-timeseries-increase", tag = "increase") }
5757
)
5858
public Increase(
5959
Source source,

x-pack/plugin/esql/src/main/java/org/elasticsearch/xpack/esql/expression/function/aggregate/Irate.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ public class Irate extends TimeSeriesAggregateFunction implements OptionalArgume
4949
+ "This function is very similar to rate, but is more responsive to recent changes in the rate of increase.",
5050
appliesTo = { @FunctionAppliesTo(lifeCycle = FunctionAppliesToLifecycle.PREVIEW, version = "9.2.0") },
5151
preview = true,
52-
examples = { @Example(file = "k8s-timeseries-irate", tag = "*") }
52+
examples = { @Example(file = "k8s-timeseries-irate", tag = "ts_command_v0") }
5353
)
5454
public Irate(Source source, @Param(name = "field", type = { "counter_long", "counter_integer", "counter_double" }) Expression field) {
5555
this(source, field, new UnresolvedAttribute(source, "@timestamp"));

0 commit comments

Comments
 (0)