@prometheus-io/lezer-promql 0.307.2 → 0.308.0-rc.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,48 @@
1
1
  # Changelog
2
2
 
3
+ ## main / unreleased
4
+
5
+ ## 3.8.0-rc.0 / 2025-11-07
6
+
7
+ * [CHANGE] TSDB: Native Histogram Custom Bounds with a NaN threshold are now rejected. #17287
8
+ * [FEATURE] Dockerfile: Add OpenContainers spec labels to Dockerfile. #16483
9
+ * [FEATURE] SD: Add unified AWS service discovery for ec2, lightsail and ecs services. #17046
10
+ * [FEATURE] Native histograms are now a stable, but optional feature, use the `scrape_native_histogram` config setting. #17232 #17315
11
+ * [FEATURE] UI: Support anchored and smoothed keyword in promql editor. #17239
12
+ * [FEATURE] UI: Show detailed relabeling steps for each discovered target. #17337
13
+ * [FEATURE] Alerting: Add urlQueryEscape to template functions. #17403
14
+ * [FEATURE] Promtool: Add Remote-Write 2.0 support to `promtool push metrics` via the `--protobuf_message` flag. #17417
15
+ * [ENHANCEMENT] Clarify the docs about handling negative native histograms. #17249
16
+ * [ENHANCEMENT] Mixin: Add static UID to the remote-write dashboard. #17256
17
+ * [ENHANCEMENT] PromQL: Reconcile mismatched NHCB bounds in `Add` and `Sub`. #17278
18
+ * [ENHANCEMENT] Alerting: Add "unknown" state for alerting rules that haven't been evaluated yet. #17282
19
+ * [ENHANCEMENT] Scrape: Allow simultaneous use of classic histogram → NHCB conversion and zero-timestamp ingestion. #17305
20
+ * [ENHANCEMENT] UI: Add smoothed/anchored in explain. #17334
21
+ * [ENHANCEMENT] OTLP: De-duplicate any `target_info` samples with the same timestamp for the same series. #17400
22
+ * [ENHANCEMENT] Document `use_fips_sts_endpoint` in `sigv4` config sections. #17304
23
+ * [ENHANCEMENT] Document Prometheus Agent. #14519
24
+ * [PERF] PromQL: Speed up parsing of variadic functions. #17316
25
+ * [PERF] UI: Speed up alerts/rules/... pages by not rendering collapsed content. #17485
26
+ * [PERF] UI: Performance improvement when getting label name and values in promql editor. #17194
27
+ * [PERF] UI: Speed up /alerts for many firing alerts via virtual scrolling. #17254
28
+ * [BUGFIX] PromQL: Fix slice indexing bug in info function on churning series. #17199
29
+ * [BUGFIX] API: Reduce lock contention on `/api/v1/targets`. #17306
30
+ * [BUGFIX] PromQL: Consistent handling of gauge vs. counter histograms in aggregations. #17312
31
+ * [BUGFIX] TSDB: Allow NHCB with -Inf as the first custom value. #17320
32
+ * [BUGFIX] UI: Fix duplicate loading of data from the API speed up rendering of some pages. #17357
33
+ * [BUGFIX] Old UI: Fix createExpressionLink to correctly build /graph URLs so links from Alerts/Rules work again. #17365
34
+ * [BUGFIX] PromQL: Avoid panic when parsing malformed `info` call. #17379
35
+ * [BUGFIX] PromQL: Include histograms when enforcing sample_limit. #17390
36
+ * [BUGFIX] Config: Fix panic if TLS CA file is absent. #17418
37
+ * [BUGFIX] PromQL: Fix `histogram_fraction` for classic histograms and NHCB if lower bound is in the first bucket. #17424
38
+
39
+ ## 3.7.3 / 2025-10-29
40
+
41
+ * [BUGFIX] UI: Revert changed (and breaking) redirect behavior for `-web.external-url` if `-web.route-prefix` is configured, which was introduced in #17240. #17389
42
+ * [BUGFIX] Fix federation of some native histograms. #17299 #17409
43
+ * [BUGFIX] promtool: `check config` would fail when `--lint=none` flag was set. #17399 #17414
44
+ * [BUGFIX] Remote-write: fix a deadlock in the queue resharding logic that can lead to suboptimal queue behavior. #17412
45
+
3
46
  ## 3.7.2 / 2025-10-22
4
47
 
5
48
  * [BUGFIX] AWS SD: Fix AWS SDK v2 credentials handling for EC2 and Lightsail discovery. #17355
package/dist/index.cjs CHANGED
@@ -4,8 +4,8 @@ var lr = require('@lezer/lr');
4
4
  var highlight = require('@lezer/highlight');
5
5
 
6
6
  // This file was generated by lezer-generator. You probably shouldn't edit it.
7
- const inf$1 = 163,
8
- nan$1 = 164,
7
+ const inf$1 = 167,
8
+ nan$1 = 168,
9
9
  Bool$1 = 1,
10
10
  Ignoring$1 = 2,
11
11
  On$1 = 3,
@@ -33,7 +33,9 @@ const inf$1 = 163,
33
33
  Or$1 = 25,
34
34
  Unless$1 = 26,
35
35
  Start$1 = 27,
36
- End$1 = 28;
36
+ End$1 = 28,
37
+ Smoothed$1 = 29,
38
+ Anchored$1 = 30;
37
39
 
38
40
  // Copyright 2021 The Prometheus Authors
39
41
  // Licensed under the Apache License, Version 2.0 (the "License");
@@ -87,6 +89,8 @@ const contextualKeywordTokens = {
87
89
  unless: Unless$1,
88
90
  start: Start$1,
89
91
  end: End$1,
92
+ smoothed: Smoothed$1,
93
+ anchored: Anchored$1,
90
94
  };
91
95
 
92
96
  const extendIdentifier = (value, stack) => {
@@ -117,7 +121,7 @@ const promQLHighLight = highlight.styleTags({
117
121
  'Abs Absent AbsentOverTime Acos Acosh Asin Asinh Atan Atanh AvgOverTime Ceil Changes Clamp ClampMax ClampMin Cos Cosh CountOverTime DaysInMonth DayOfMonth DayOfWeek DayOfYear Deg Delta Deriv Exp Floor HistogramAvg HistogramCount HistogramFraction HistogramQuantile HistogramSum DoubleExponentialSmoothing Hour Idelta Increase Irate LabelReplace LabelJoin LastOverTime Ln Log10 Log2 MaxOverTime MinOverTime Minute Month Pi PredictLinear PresentOverTime QuantileOverTime Rad Rate Resets Round Scalar Sgn Sin Sinh Sort SortDesc SortByLabel SortByLabelDesc Sqrt StddevOverTime StdvarOverTime SumOverTime Tan Tanh Time Timestamp Vector Year':
118
122
  highlight.tags.function(highlight.tags.variableName),
119
123
  'Avg Bottomk Count Count_values Group LimitK LimitRatio Max Min Quantile Stddev Stdvar Sum Topk': highlight.tags.operatorKeyword,
120
- 'By Without Bool On Ignoring GroupLeft GroupRight Offset Start End': highlight.tags.modifier,
124
+ 'By Without Bool On Ignoring GroupLeft GroupRight Offset Start End Smoothed Anchored': highlight.tags.modifier,
121
125
  'And Unless Or': highlight.tags.logicOperator,
122
126
  'Sub Add Mul Mod Div Atan2 Eql Neq Lte Lss Gte Gtr EqlRegex EqlSingle NeqRegex Pow At': highlight.tags.operator,
123
127
  UnaryOp: highlight.tags.arithmeticOperator,
@@ -128,29 +132,29 @@ const promQLHighLight = highlight.styleTags({
128
132
  });
129
133
 
130
134
  // This file was generated by lezer-generator. You probably shouldn't edit it.
131
- const spec_Identifier = {__proto__:null,absent_over_time:345, absent:347, abs:349, acos:351, acosh:353, asin:355, asinh:357, atan:359, atanh:361, avg_over_time:363, ceil:365, changes:367, clamp:369, clamp_max:371, clamp_min:373, cos:375, cosh:377, count_over_time:379, days_in_month:381, day_of_month:383, day_of_week:385, day_of_year:387, deg:389, delta:391, deriv:393, exp:395, first_over_time:397, floor:399, histogram_count:401, histogram_fraction:403, histogram_quantile:405, histogram_stddev:407, histogram_stdvar:409, histogram_sum:411, histogram_avg:413, double_exponential_smoothing:415, hour:417, idelta:419, increase:421, info:423, irate:425, label_replace:427, label_join:429, last_over_time:431, ln:433, log10:435, log2:437, mad_over_time:439, max_over_time:441, min_over_time:443, ts_of_first_over_time:445, ts_of_max_over_time:447, ts_of_min_over_time:449, ts_of_last_over_time:451, minute:453, month:455, pi:457, predict_linear:459, present_over_time:461, quantile_over_time:463, rad:465, rate:467, resets:469, round:471, scalar:473, sgn:475, sin:477, sinh:479, sort:481, sort_desc:483, sort_by_label:485, sort_by_label_desc:487, sqrt:489, stddev_over_time:491, stdvar_over_time:493, sum_over_time:495, tan:497, tanh:499, timestamp:501, time:503, vector:505, year:507};
135
+ const spec_Identifier = {__proto__:null,absent_over_time:353, absent:355, abs:357, acos:359, acosh:361, asin:363, asinh:365, atan:367, atanh:369, avg_over_time:371, ceil:373, changes:375, clamp:377, clamp_max:379, clamp_min:381, cos:383, cosh:385, count_over_time:387, days_in_month:389, day_of_month:391, day_of_week:393, day_of_year:395, deg:397, delta:399, deriv:401, exp:403, first_over_time:405, floor:407, histogram_count:409, histogram_fraction:411, histogram_quantile:413, histogram_stddev:415, histogram_stdvar:417, histogram_sum:419, histogram_avg:421, double_exponential_smoothing:423, hour:425, idelta:427, increase:429, info:431, irate:433, label_replace:435, label_join:437, last_over_time:439, ln:441, log10:443, log2:445, mad_over_time:447, max_over_time:449, min_over_time:451, ts_of_first_over_time:453, ts_of_max_over_time:455, ts_of_min_over_time:457, ts_of_last_over_time:459, minute:461, month:463, pi:465, predict_linear:467, present_over_time:469, quantile_over_time:471, rad:473, rate:475, resets:477, round:479, scalar:481, sgn:483, sin:485, sinh:487, sort:489, sort_desc:491, sort_by_label:493, sort_by_label_desc:495, sqrt:497, stddev_over_time:499, stdvar_over_time:501, sum_over_time:503, tan:505, tanh:507, timestamp:509, time:511, vector:513, year:515};
132
136
  const parser = lr.LRParser.deserialize({
133
137
  version: 14,
134
- states: ":QOYQPOOO(TQPOOOOQO'#C|'#C|O(YQPO'#C{Q(eQQOOOOQO'#De'#DeO(`QPO'#DdOOQO'#F_'#F_O)rQPO'#FdOYQPO'#FaOYQPO'#FcO0vQSO'#FfO1RQQO'#FeOOQO'#Fe'#FeOOQO'#Fy'#FyOOQO'#Df'#DfOOQO'#Dh'#DhOOQO'#Di'#DiOOQO'#Dj'#DjOOQO'#Dk'#DkOOQO'#Dl'#DlOOQO'#Dm'#DmOOQO'#Dn'#DnOOQO'#Do'#DoOOQO'#Dp'#DpOOQO'#Dq'#DqOOQO'#Dr'#DrOOQO'#Ds'#DsOOQO'#Dt'#DtOOQO'#Du'#DuOOQO'#Dv'#DvOOQO'#Dw'#DwOOQO'#Dx'#DxOOQO'#Dy'#DyOOQO'#Dz'#DzOOQO'#D{'#D{OOQO'#D|'#D|OOQO'#D}'#D}OOQO'#EO'#EOOOQO'#EP'#EPOOQO'#EQ'#EQOOQO'#ER'#EROOQO'#ES'#ESOOQO'#ET'#ETOOQO'#EU'#EUOOQO'#EV'#EVOOQO'#EW'#EWOOQO'#EX'#EXOOQO'#EY'#EYOOQO'#EZ'#EZOOQO'#E['#E[OOQO'#E]'#E]OOQO'#E^'#E^OOQO'#E_'#E_OOQO'#E`'#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]d]OXY#V#u#v#w#x#y$]R#k[Q#jZV$n$W$p$}Q$U#gT$V#h$mR$R#aQ$s$[R%R$sQ$^#oR$v$^S$X#h#jR$q$XQSOQ#dXQ#eYQ#o#VQ$b#uQ$c#vQ$d#wQ$e#xQ$f#yR$u$]Q#u#YQ#v#ZQ#w#[Q#x#]R#y#^",
137
- nodeNames: "⚠ Bool Ignoring On GroupLeft GroupRight Offset Atan2 Avg Bottomk Count CountValues Group Max Min Quantile LimitK LimitRatio Stddev Stdvar Sum Topk By Without And Or Unless Start End LineComment PromQL AggregateExpr AggregateOp AggregateModifier GroupingLabels LabelName QuotedLabelName StringLiteral FunctionCallBody BinaryExpr Pow BoolModifier MatchingModifierClause Mul Div Mod Add Sub Eql Gte Gtr Lte Lss Neq FunctionCall FunctionIdentifier AbsentOverTime Identifier Absent Abs Acos Acosh Asin Asinh Atan Atanh AvgOverTime Ceil Changes Clamp ClampMax ClampMin Cos Cosh CountOverTime DaysInMonth DayOfMonth DayOfWeek DayOfYear Deg Delta Deriv Exp FirstOverTime Floor HistogramCount HistogramFraction HistogramQuantile HistogramStdDev HistogramStdVar HistogramSum HistogramAvg DoubleExponentialSmoothing Hour Idelta Increase Info Irate LabelReplace LabelJoin LastOverTime Ln Log10 Log2 MadOverTime MaxOverTime MinOverTime TsOfFirstOverTime TsOfMaxOverTime TsOfMinOverTime TsOfLastOverTime Minute Month Pi PredictLinear PresentOverTime QuantileOverTime Rad Rate Resets Round Scalar Sgn Sin Sinh Sort SortDesc SortByLabel SortByLabelDesc Sqrt StddevOverTime StdvarOverTime SumOverTime Tan Tanh Timestamp Time Vector Year MatrixSelector NumberDurationLiteralInDurationContext NumberDurationLiteral OffsetExpr ParenExpr SubqueryExpr UnaryExpr UnaryOp VectorSelector LabelMatchers UnquotedLabelMatcher MatchOp EqlSingle EqlRegex NeqRegex QuotedLabelMatcher StepInvariantExpr At AtModifierPreprocessors MetricName",
138
- maxTerm: 261,
138
+ states: ":^OYQPOOO(TQPOOOOQ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bool Ignoring On GroupLeft GroupRight Offset Atan2 Avg Bottomk Count CountValues Group Max Min Quantile LimitK LimitRatio Stddev Stdvar Sum Topk By Without And Or Unless Start End Smoothed Anchored LineComment PromQL AggregateExpr AggregateOp AggregateModifier GroupingLabels LabelName QuotedLabelName StringLiteral FunctionCallBody BinaryExpr Pow BoolModifier MatchingModifierClause Mul Div Mod Add Sub Eql Gte Gtr Lte Lss Neq FunctionCall FunctionIdentifier AbsentOverTime Identifier Absent Abs Acos Acosh Asin Asinh Atan Atanh AvgOverTime Ceil Changes Clamp ClampMax ClampMin Cos Cosh CountOverTime DaysInMonth DayOfMonth DayOfWeek DayOfYear Deg Delta Deriv Exp FirstOverTime Floor HistogramCount HistogramFraction HistogramQuantile HistogramStdDev HistogramStdVar HistogramSum HistogramAvg DoubleExponentialSmoothing Hour Idelta Increase Info Irate LabelReplace LabelJoin LastOverTime Ln Log10 Log2 MadOverTime MaxOverTime MinOverTime TsOfFirstOverTime TsOfMaxOverTime TsOfMinOverTime TsOfLastOverTime Minute Month Pi PredictLinear PresentOverTime QuantileOverTime Rad Rate Resets Round Scalar Sgn Sin Sinh Sort SortDesc SortByLabel SortByLabelDesc Sqrt StddevOverTime StdvarOverTime SumOverTime Tan Tanh Timestamp Time Vector Year MatrixSelector NumberDurationLiteralInDurationContext NumberDurationLiteral OffsetExpr AnchoredExpr SmoothedExpr ParenExpr SubqueryExpr UnaryExpr UnaryOp VectorSelector LabelMatchers UnquotedLabelMatcher MatchOp EqlSingle EqlRegex NeqRegex QuotedLabelMatcher StepInvariantExpr At AtModifierPreprocessors MetricName",
142
+ maxTerm: 265,
139
143
  nodeProps: [
140
- ["group", -12,31,37,39,54,139,141,142,143,144,145,147,155,"Expr"]
144
+ ["group", -14,33,39,41,56,141,143,144,145,146,147,148,149,151,159,"Expr"]
141
145
  ],
142
146
  propSources: [promQLHighLight],
143
- skippedNodes: [0,29],
147
+ skippedNodes: [0,31],
144
148
  repeatNodeCount: 3,
145
- tokenData: "4k~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1f!c!}1f#R#S1f#T#o1f~2PP!W~!_!`2S~2XO!V~~2^Q$aP!_!`2d#r#s2iQ2iO!SQ~2nO$b~~2sP!U~!_!`2v~2{O!T~~3QO$f~V3XT!]RuS!Q![3Q![!]1f!c!}3Q#R#S3Q#T#o3Q~3mO&l~~3rO&p~~3wOz~~3zTO#S3w#S#T%c#T;'S3w;'S;=`4Z<%lO3w~4^P;=`<%l3w~4fO&r~~4kO&s~",
146
150
  tokenizers: [0, 1, 2],
147
- topRules: {"PromQL":[0,30],"MetricName":[1,158]},
148
- specialized: [{term: 57, get: (value, stack) => (specializeIdentifier(value) << 1), external: specializeIdentifier},{term: 57, get: (value, stack) => (extendIdentifier(value) << 1) | 1, external: extendIdentifier, extend: true},{term: 57, get: (value) => spec_Identifier[value] || -1}],
151
+ topRules: {"PromQL":[0,32],"MetricName":[1,162]},
152
+ specialized: [{term: 59, get: (value, stack) => (specializeIdentifier(value) << 1), external: specializeIdentifier},{term: 59, get: (value, stack) => (extendIdentifier(value) << 1) | 1, external: extendIdentifier, extend: true},{term: 59, get: (value) => spec_Identifier[value] || -1}],
149
153
  tokenPrec: 0
150
154
  });
151
155
  // This file was generated by lezer-generator. You probably shouldn't edit it.
152
- const inf = 163,
153
- nan = 164,
156
+ const inf = 167,
157
+ nan = 168,
154
158
  Bool = 1,
155
159
  Ignoring = 2,
156
160
  On = 3,
@@ -179,136 +183,140 @@ const inf = 163,
179
183
  Unless = 26,
180
184
  Start = 27,
181
185
  End = 28,
182
- LineComment = 29,
183
- PromQL = 30,
184
- AggregateExpr = 31,
185
- AggregateOp = 32,
186
- AggregateModifier = 33,
187
- GroupingLabels = 34,
188
- LabelName = 35,
189
- QuotedLabelName = 36,
190
- StringLiteral = 37,
191
- FunctionCallBody = 38,
192
- BinaryExpr = 39,
193
- Pow = 40,
194
- BoolModifier = 41,
195
- MatchingModifierClause = 42,
196
- Mul = 43,
197
- Div = 44,
198
- Mod = 45,
199
- Add = 46,
200
- Sub = 47,
201
- Eql = 48,
202
- Gte = 49,
203
- Gtr = 50,
204
- Lte = 51,
205
- Lss = 52,
206
- Neq = 53,
207
- FunctionCall = 54,
208
- FunctionIdentifier = 55,
209
- AbsentOverTime = 56,
210
- Identifier = 57,
211
- Absent = 58,
212
- Abs = 59,
213
- Acos = 60,
214
- Acosh = 61,
215
- Asin = 62,
216
- Asinh = 63,
217
- Atan = 64,
218
- Atanh = 65,
219
- AvgOverTime = 66,
220
- Ceil = 67,
221
- Changes = 68,
222
- Clamp = 69,
223
- ClampMax = 70,
224
- ClampMin = 71,
225
- Cos = 72,
226
- Cosh = 73,
227
- CountOverTime = 74,
228
- DaysInMonth = 75,
229
- DayOfMonth = 76,
230
- DayOfWeek = 77,
231
- DayOfYear = 78,
232
- Deg = 79,
233
- Delta = 80,
234
- Deriv = 81,
235
- Exp = 82,
236
- FirstOverTime = 83,
237
- Floor = 84,
238
- HistogramCount = 85,
239
- HistogramFraction = 86,
240
- HistogramQuantile = 87,
241
- HistogramStdDev = 88,
242
- HistogramStdVar = 89,
243
- HistogramSum = 90,
244
- HistogramAvg = 91,
245
- DoubleExponentialSmoothing = 92,
246
- Hour = 93,
247
- Idelta = 94,
248
- Increase = 95,
249
- Info = 96,
250
- Irate = 97,
251
- LabelReplace = 98,
252
- LabelJoin = 99,
253
- LastOverTime = 100,
254
- Ln = 101,
255
- Log10 = 102,
256
- Log2 = 103,
257
- MadOverTime = 104,
258
- MaxOverTime = 105,
259
- MinOverTime = 106,
260
- TsOfFirstOverTime = 107,
261
- TsOfMaxOverTime = 108,
262
- TsOfMinOverTime = 109,
263
- TsOfLastOverTime = 110,
264
- Minute = 111,
265
- Month = 112,
266
- Pi = 113,
267
- PredictLinear = 114,
268
- PresentOverTime = 115,
269
- QuantileOverTime = 116,
270
- Rad = 117,
271
- Rate = 118,
272
- Resets = 119,
273
- Round = 120,
274
- Scalar = 121,
275
- Sgn = 122,
276
- Sin = 123,
277
- Sinh = 124,
278
- Sort = 125,
279
- SortDesc = 126,
280
- SortByLabel = 127,
281
- SortByLabelDesc = 128,
282
- Sqrt = 129,
283
- StddevOverTime = 130,
284
- StdvarOverTime = 131,
285
- SumOverTime = 132,
286
- Tan = 133,
287
- Tanh = 134,
288
- Timestamp = 135,
289
- Time = 136,
290
- Vector = 137,
291
- Year = 138,
292
- MatrixSelector = 139,
293
- NumberDurationLiteralInDurationContext = 140,
294
- NumberDurationLiteral = 141,
295
- OffsetExpr = 142,
296
- ParenExpr = 143,
297
- SubqueryExpr = 144,
298
- UnaryExpr = 145,
299
- UnaryOp = 146,
300
- VectorSelector = 147,
301
- LabelMatchers = 148,
302
- UnquotedLabelMatcher = 149,
303
- MatchOp = 150,
304
- EqlSingle = 151,
305
- EqlRegex = 152,
306
- NeqRegex = 153,
307
- QuotedLabelMatcher = 154,
308
- StepInvariantExpr = 155,
309
- At = 156,
310
- AtModifierPreprocessors = 157,
311
- MetricName = 158;
186
+ Smoothed = 29,
187
+ Anchored = 30,
188
+ LineComment = 31,
189
+ PromQL = 32,
190
+ AggregateExpr = 33,
191
+ AggregateOp = 34,
192
+ AggregateModifier = 35,
193
+ GroupingLabels = 36,
194
+ LabelName = 37,
195
+ QuotedLabelName = 38,
196
+ StringLiteral = 39,
197
+ FunctionCallBody = 40,
198
+ BinaryExpr = 41,
199
+ Pow = 42,
200
+ BoolModifier = 43,
201
+ MatchingModifierClause = 44,
202
+ Mul = 45,
203
+ Div = 46,
204
+ Mod = 47,
205
+ Add = 48,
206
+ Sub = 49,
207
+ Eql = 50,
208
+ Gte = 51,
209
+ Gtr = 52,
210
+ Lte = 53,
211
+ Lss = 54,
212
+ Neq = 55,
213
+ FunctionCall = 56,
214
+ FunctionIdentifier = 57,
215
+ AbsentOverTime = 58,
216
+ Identifier = 59,
217
+ Absent = 60,
218
+ Abs = 61,
219
+ Acos = 62,
220
+ Acosh = 63,
221
+ Asin = 64,
222
+ Asinh = 65,
223
+ Atan = 66,
224
+ Atanh = 67,
225
+ AvgOverTime = 68,
226
+ Ceil = 69,
227
+ Changes = 70,
228
+ Clamp = 71,
229
+ ClampMax = 72,
230
+ ClampMin = 73,
231
+ Cos = 74,
232
+ Cosh = 75,
233
+ CountOverTime = 76,
234
+ DaysInMonth = 77,
235
+ DayOfMonth = 78,
236
+ DayOfWeek = 79,
237
+ DayOfYear = 80,
238
+ Deg = 81,
239
+ Delta = 82,
240
+ Deriv = 83,
241
+ Exp = 84,
242
+ FirstOverTime = 85,
243
+ Floor = 86,
244
+ HistogramCount = 87,
245
+ HistogramFraction = 88,
246
+ HistogramQuantile = 89,
247
+ HistogramStdDev = 90,
248
+ HistogramStdVar = 91,
249
+ HistogramSum = 92,
250
+ HistogramAvg = 93,
251
+ DoubleExponentialSmoothing = 94,
252
+ Hour = 95,
253
+ Idelta = 96,
254
+ Increase = 97,
255
+ Info = 98,
256
+ Irate = 99,
257
+ LabelReplace = 100,
258
+ LabelJoin = 101,
259
+ LastOverTime = 102,
260
+ Ln = 103,
261
+ Log10 = 104,
262
+ Log2 = 105,
263
+ MadOverTime = 106,
264
+ MaxOverTime = 107,
265
+ MinOverTime = 108,
266
+ TsOfFirstOverTime = 109,
267
+ TsOfMaxOverTime = 110,
268
+ TsOfMinOverTime = 111,
269
+ TsOfLastOverTime = 112,
270
+ Minute = 113,
271
+ Month = 114,
272
+ Pi = 115,
273
+ PredictLinear = 116,
274
+ PresentOverTime = 117,
275
+ QuantileOverTime = 118,
276
+ Rad = 119,
277
+ Rate = 120,
278
+ Resets = 121,
279
+ Round = 122,
280
+ Scalar = 123,
281
+ Sgn = 124,
282
+ Sin = 125,
283
+ Sinh = 126,
284
+ Sort = 127,
285
+ SortDesc = 128,
286
+ SortByLabel = 129,
287
+ SortByLabelDesc = 130,
288
+ Sqrt = 131,
289
+ StddevOverTime = 132,
290
+ StdvarOverTime = 133,
291
+ SumOverTime = 134,
292
+ Tan = 135,
293
+ Tanh = 136,
294
+ Timestamp = 137,
295
+ Time = 138,
296
+ Vector = 139,
297
+ Year = 140,
298
+ MatrixSelector = 141,
299
+ NumberDurationLiteralInDurationContext = 142,
300
+ NumberDurationLiteral = 143,
301
+ OffsetExpr = 144,
302
+ AnchoredExpr = 145,
303
+ SmoothedExpr = 146,
304
+ ParenExpr = 147,
305
+ SubqueryExpr = 148,
306
+ UnaryExpr = 149,
307
+ UnaryOp = 150,
308
+ VectorSelector = 151,
309
+ LabelMatchers = 152,
310
+ UnquotedLabelMatcher = 153,
311
+ MatchOp = 154,
312
+ EqlSingle = 155,
313
+ EqlRegex = 156,
314
+ NeqRegex = 157,
315
+ QuotedLabelMatcher = 158,
316
+ StepInvariantExpr = 159,
317
+ At = 160,
318
+ AtModifierPreprocessors = 161,
319
+ MetricName = 162;
312
320
 
313
321
  exports.Abs = Abs;
314
322
  exports.Absent = Absent;
@@ -319,6 +327,8 @@ exports.Add = Add;
319
327
  exports.AggregateExpr = AggregateExpr;
320
328
  exports.AggregateModifier = AggregateModifier;
321
329
  exports.AggregateOp = AggregateOp;
330
+ exports.Anchored = Anchored;
331
+ exports.AnchoredExpr = AnchoredExpr;
322
332
  exports.And = And;
323
333
  exports.Asin = Asin;
324
334
  exports.Asinh = Asinh;
@@ -435,6 +445,8 @@ exports.Scalar = Scalar;
435
445
  exports.Sgn = Sgn;
436
446
  exports.Sin = Sin;
437
447
  exports.Sinh = Sinh;
448
+ exports.Smoothed = Smoothed;
449
+ exports.SmoothedExpr = SmoothedExpr;
438
450
  exports.Sort = Sort;
439
451
  exports.SortByLabel = SortByLabel;
440
452
  exports.SortByLabelDesc = SortByLabelDesc;
package/dist/index.d.ts CHANGED
@@ -48,6 +48,8 @@ export const
48
48
  Unless: number,
49
49
  Start: number,
50
50
  End: number,
51
+ Smoothed: number,
52
+ Anchored: number,
51
53
  LineComment: number,
52
54
  PromQL: number,
53
55
  AggregateExpr: number,
@@ -162,6 +164,8 @@ export const
162
164
  NumberDurationLiteralInDurationContext: number,
163
165
  NumberDurationLiteral: number,
164
166
  OffsetExpr: number,
167
+ AnchoredExpr: number,
168
+ SmoothedExpr: number,
165
169
  ParenExpr: number,
166
170
  SubqueryExpr: number,
167
171
  UnaryExpr: number,