@prometheus-io/lezer-promql 0.304.2 → 0.305.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 +45 -0
- package/dist/index.cjs +67 -61
- package/dist/index.d.ts +3 -0
- package/dist/index.es.js +65 -62
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,50 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## main / unreleased
|
|
4
|
+
|
|
5
|
+
## 3.5.0-rc.0 / 2025-06-25
|
|
6
|
+
|
|
7
|
+
* [FEATURE] PromQL: Add experimental type and unit metadata labels, behind feature flag `type-and-unit-labels`. #16228 #16632 #16718 #16743
|
|
8
|
+
* [FEATURE] PromQL: Add `ts_of_(min|max|last)_over_time`, behind feature flag `experimental-promql-functions`. #16722 #16733
|
|
9
|
+
* [FEATURE] Scraping: Add global option `always_scrape_classic_histograms` to scrape a classic histogram even if it is also exposed as native. #16452
|
|
10
|
+
* [FEATURE] OTLP: Support promoting OTel scope name/version/schema URL/attributes as metric labels, via `otlp.promote_scope_metadata`. #16730 #16760
|
|
11
|
+
* [FEATURE] OTLP: New config options `promote_all_resource_attributes` and `ignore_resource_attributes`. #16426
|
|
12
|
+
* [FEATURE] Discovery: New service discovery for STACKIT Cloud. #16401
|
|
13
|
+
* [ENHANCEMENT] Hetzner SD: Add `label_selector` to filter servers. #16512
|
|
14
|
+
* [ENHANCEMENT] PromQL: support non-constant parameter in aggregations like `quantile` and `topk`. #16404
|
|
15
|
+
* [ENHANCEMENT] UI: Better total target count display when using `keep_dropped_targets` option. #16604
|
|
16
|
+
* [ENHANCEMENT] UI: Add simple filtering on the `/rules` page. #16605
|
|
17
|
+
* [ENHANCEMENT] UI: Display query stats in hover tooltip over table query tab. #16723
|
|
18
|
+
* [ENHANCEMENT] UI: Clear search field on `/targets` page. #16567
|
|
19
|
+
* [ENHANCEMENT] Rules: Check that rules parse without error earlier at startup. #16601
|
|
20
|
+
* [ENHANCEMENT] Promtool: Optional fuzzy float64 comparison in rules unittests. #16395
|
|
21
|
+
* [PERF] PromQL: Reuse `histogramStatsIterator` where possible. #16686
|
|
22
|
+
* [PERF] PromQL: Reuse storage for custom bucket values for native histograms. #16565
|
|
23
|
+
* [PERF] UI: Optimize memoization and search debouncing on `/targets` page. #16589
|
|
24
|
+
* [PERF] UI: Fix full-page re-rendering when opening status nav menu. #16590
|
|
25
|
+
* [PERF] Kubernetes SD: use service cache.Indexer to achieve better performance. #16365
|
|
26
|
+
* [PERF] TSDB: Optionally use Direct IO for chunks writing. #15365
|
|
27
|
+
* [PERF] TSDB: When fetching label values, stop work earlier if the limit is reached. #16158
|
|
28
|
+
* [PERF] Labels: Simpler/faster stringlabels encoding. #16069
|
|
29
|
+
* [PERF] Scraping: Reload scrape pools concurrently. #16595 #16783
|
|
30
|
+
* [BUGFIX] Top-level: Update GOGC before loading TSDB. #16491
|
|
31
|
+
* [BUGFIX] Config: Respect GOGC environment variable if no "runtime" block exists. #16558
|
|
32
|
+
* [BUGFIX] PromQL: Fix native histogram `last_over_time`. #16744
|
|
33
|
+
* [BUGFIX] PromQL: Fix reported parser position range in errors for aggregations wrapped in ParenExpr #16041 #16754
|
|
34
|
+
* [BUGFIX] PromQL: Don't emit a value from `histogram_fraction` or `histogram_quantile` if classic and native histograms are present at the same timestamp. #16552
|
|
35
|
+
* [BUGFIX] PromQL: Incorrect rounding of `[1001ms]` to `[1s]` and similar. #16478
|
|
36
|
+
* [BUGFIX] PromQL: Fix inconsistent / sometimes negative `histogram_count` and `histogram_sum`. #16682
|
|
37
|
+
* [BUGFIX] PromQL: Improve handling of NaNs in native histograms. #16724
|
|
38
|
+
* [BUGFIX] PromQL: Fix unary operator precedence in duration expressions. #16713
|
|
39
|
+
* [BUGFIX] PromQL: Improve consistency of `avg` aggregation and `avg_over_time`. #16569 #16773
|
|
40
|
+
* [BUGFIX] UI: Add query warnings and info to graph view. #16753 #16759
|
|
41
|
+
* [BUGFIX] API: Add HTTP `Vary: Origin` header to responses to avoid cache poisoning. #16008
|
|
42
|
+
* [BUGFIX] Discovery: Avoid deadlocks by taking locks in consistent order. #16587
|
|
43
|
+
* [BUGFIX] Remote-write: For Azure AD auth, allow empty `client_id` to suppport system assigned managed identity. #16421
|
|
44
|
+
* [BUGFIX] Scraping: Fix rare memory corruption bug. #16623
|
|
45
|
+
* [BUGFIX] Scraping: continue handling custom-bucket histograms after an exponential histogram is encountered. #16720
|
|
46
|
+
* [BUGFIX] OTLP: Default config not respected when `otlp:` block is unset. #16693
|
|
47
|
+
|
|
3
48
|
## 3.4.2 / 2025-06-26
|
|
4
49
|
|
|
5
50
|
* [BUGFIX] OTLP receiver: Fix default configuration not being respected if the `otlp:` block is unset in the config file. #16693
|
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 =
|
|
8
|
-
nan$1 =
|
|
7
|
+
const inf$1 = 161,
|
|
8
|
+
nan$1 = 162,
|
|
9
9
|
Bool$1 = 1,
|
|
10
10
|
Ignoring$1 = 2,
|
|
11
11
|
On$1 = 3,
|
|
@@ -128,29 +128,29 @@ const promQLHighLight = highlight.styleTags({
|
|
|
128
128
|
});
|
|
129
129
|
|
|
130
130
|
// This file was generated by lezer-generator. You probably shouldn't edit it.
|
|
131
|
-
const spec_Identifier = {__proto__:null,absent_over_time:
|
|
131
|
+
const spec_Identifier = {__proto__:null,absent_over_time:341, absent:343, abs:345, acos:347, acosh:349, asin:351, asinh:353, atan:355, atanh:357, avg_over_time:359, ceil:361, changes:363, clamp:365, clamp_max:367, clamp_min:369, cos:371, cosh:373, count_over_time:375, days_in_month:377, day_of_month:379, day_of_week:381, day_of_year:383, deg:385, delta:387, deriv:389, exp:391, floor:393, histogram_count:395, histogram_fraction:397, histogram_quantile:399, histogram_stddev:401, histogram_stdvar:403, histogram_sum:405, histogram_avg:407, double_exponential_smoothing:409, hour:411, idelta:413, increase:415, info:417, irate:419, label_replace:421, label_join:423, last_over_time:425, ln:427, log10:429, log2:431, mad_over_time:433, max_over_time:435, min_over_time:437, ts_of_max_over_time:439, ts_of_min_over_time:441, ts_of_last_over_time:443, minute:445, month:447, pi:449, predict_linear:451, present_over_time:453, quantile_over_time:455, rad:457, rate:459, resets:461, round:463, scalar:465, sgn:467, sin:469, sinh:471, sort:473, sort_desc:475, sort_by_label:477, sort_by_label_desc:479, sqrt:481, stddev_over_time:483, stdvar_over_time:485, sum_over_time:487, tan:489, tanh:491, timestamp:493, time:495, vector:497, year:499};
|
|
132
132
|
const parser = lr.LRParser.deserialize({
|
|
133
133
|
version: 14,
|
|
134
|
-
states: "
|
|
135
|
-
stateData: "
|
|
136
|
-
goto: ")
|
|
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 Floor HistogramCount HistogramFraction HistogramQuantile HistogramStdDev HistogramStdVar HistogramSum HistogramAvg DoubleExponentialSmoothing Hour Idelta Increase Info Irate LabelReplace LabelJoin LastOverTime Ln Log10 Log2 MadOverTime 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 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:
|
|
134
|
+
states: "9tOYQPOOO'}QPOOOOQO'#C|'#C|O(SQPO'#C{Q(_QQOOOOQO'#De'#DeO(YQPO'#DdOOQO'#F]'#F]O)lQPO'#FbOYQPO'#F_OYQPO'#FaO0jQSO'#FdO0uQQO'#FcOOQO'#Fc'#FcOOQO'#Fw'#FwOOQO'#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`'#E`OOQO'#Ea'#EaOOQO'#Eb'#EbOOQO'#Ec'#EcOOQO'#Ed'#EdOOQO'#Ee'#EeOOQO'#Ef'#EfOOQO'#Eg'#EgOOQO'#Eh'#EhOOQO'#Ei'#EiOOQO'#Ej'#EjOOQ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
|
+
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 Floor HistogramCount HistogramFraction HistogramQuantile HistogramStdDev HistogramStdVar HistogramSum HistogramAvg DoubleExponentialSmoothing Hour Idelta Increase Info Irate LabelReplace LabelJoin LastOverTime Ln Log10 Log2 MadOverTime MaxOverTime MinOverTime 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: 257,
|
|
139
139
|
nodeProps: [
|
|
140
|
-
["group", -12,31,37,39,54,
|
|
140
|
+
["group", -12,31,37,39,54,137,139,140,141,142,143,145,153,"Expr"]
|
|
141
141
|
],
|
|
142
142
|
propSources: [promQLHighLight],
|
|
143
143
|
skippedNodes: [0,29],
|
|
144
144
|
repeatNodeCount: 3,
|
|
145
|
-
tokenData: "4k~RwX^#lpq#lqr$ars$tst&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!Q![*j~*gP!Q![*j~*oQ&g~!Q![*j#R#S*d~*zO|~~+P[&g~!O!P)o!Q![+u!g!h*W#R#S,m#W#X-X#X#Y*W#[#]-p#a#b.U#g#h.x#k#l/Z#l#m0d#m#n/u~+zZ&g~!O!P)o!Q![+u!g!h*W#R#S,m#W#X-X#X#Y*W#[#]-p#a#b.U#g#h.x#k#l/Z#m#n/u~,pP!Q![,s~,xT&g~!O!P)o!Q![,s!g!h*W#R#S,m#X#Y*W~-^P&g~!Q![-a~-dS!Q![-a#[#]-p#a#b.U#g#h.x~-uP&g~!Q![-x~-{R!Q![-x#a#b.U#g#h.x~.ZQ&g~!Q![.a#g#h.s~.dR!Q![.a#a#b.m#g#h.x~.pP#g#h.s~.xO&g~~.}P&g~!Q![/Q~/TQ!Q![/Q#a#b.m~/`P&g~!Q![/c~/fT!Q![/c#W#X-X#[#]-p#a#b.U#g#h.x~/zP&g~!Q![/}~0QU!Q![/}#W#X-X#[#]-p#a#b.U#g#h.x#k#l/Z~0gR!Q![0p!c!i0p#T#Z0p~0uR&g~!Q![0p!c!i0p#T#Z0pV1VT&iS!ZR!Q![1f![!]1f!c!}1f#R#S1f#T#o1fR1kT!ZR!Q![1f![!]1f!c!}1f#R#S1f#T#o1f~2PP!U~!_!`2S~2XO!T~~2^Q$ZP!_!`2d#r#s2iQ2iO!QQ~2nO$[~~2sP!S~!_!`2v~2{O!R~~3QO$`~V3XT!ZRsS!Q![3Q![!]1f!c!}3Q#R#S3Q#T#o3Q~3mO&d~~3rO&h~~3wOx~~3zTO#S3w#S#T%c#T;'S3w;'S;=`4Z<%lO3w~4^P;=`<%l3w~4fO&j~~4kO&k~",
|
|
146
146
|
tokenizers: [0, 1, 2],
|
|
147
|
-
topRules: {"PromQL":[0,30],"MetricName":[1,
|
|
147
|
+
topRules: {"PromQL":[0,30],"MetricName":[1,156]},
|
|
148
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}],
|
|
149
149
|
tokenPrec: 0
|
|
150
150
|
});
|
|
151
151
|
// This file was generated by lezer-generator. You probably shouldn't edit it.
|
|
152
|
-
const inf =
|
|
153
|
-
nan =
|
|
152
|
+
const inf = 161,
|
|
153
|
+
nan = 162,
|
|
154
154
|
Bool = 1,
|
|
155
155
|
Ignoring = 2,
|
|
156
156
|
On = 3,
|
|
@@ -256,54 +256,57 @@ const inf = 158,
|
|
|
256
256
|
MadOverTime = 103,
|
|
257
257
|
MaxOverTime = 104,
|
|
258
258
|
MinOverTime = 105,
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
|
|
259
|
+
TsOfMaxOverTime = 106,
|
|
260
|
+
TsOfMinOverTime = 107,
|
|
261
|
+
TsOfLastOverTime = 108,
|
|
262
|
+
Minute = 109,
|
|
263
|
+
Month = 110,
|
|
264
|
+
Pi = 111,
|
|
265
|
+
PredictLinear = 112,
|
|
266
|
+
PresentOverTime = 113,
|
|
267
|
+
QuantileOverTime = 114,
|
|
268
|
+
Rad = 115,
|
|
269
|
+
Rate = 116,
|
|
270
|
+
Resets = 117,
|
|
271
|
+
Round = 118,
|
|
272
|
+
Scalar = 119,
|
|
273
|
+
Sgn = 120,
|
|
274
|
+
Sin = 121,
|
|
275
|
+
Sinh = 122,
|
|
276
|
+
Sort = 123,
|
|
277
|
+
SortDesc = 124,
|
|
278
|
+
SortByLabel = 125,
|
|
279
|
+
SortByLabelDesc = 126,
|
|
280
|
+
Sqrt = 127,
|
|
281
|
+
StddevOverTime = 128,
|
|
282
|
+
StdvarOverTime = 129,
|
|
283
|
+
SumOverTime = 130,
|
|
284
|
+
Tan = 131,
|
|
285
|
+
Tanh = 132,
|
|
286
|
+
Timestamp = 133,
|
|
287
|
+
Time = 134,
|
|
288
|
+
Vector = 135,
|
|
289
|
+
Year = 136,
|
|
290
|
+
MatrixSelector = 137,
|
|
291
|
+
NumberDurationLiteralInDurationContext = 138,
|
|
292
|
+
NumberDurationLiteral = 139,
|
|
293
|
+
OffsetExpr = 140,
|
|
294
|
+
ParenExpr = 141,
|
|
295
|
+
SubqueryExpr = 142,
|
|
296
|
+
UnaryExpr = 143,
|
|
297
|
+
UnaryOp = 144,
|
|
298
|
+
VectorSelector = 145,
|
|
299
|
+
LabelMatchers = 146,
|
|
300
|
+
UnquotedLabelMatcher = 147,
|
|
301
|
+
MatchOp = 148,
|
|
302
|
+
EqlSingle = 149,
|
|
303
|
+
EqlRegex = 150,
|
|
304
|
+
NeqRegex = 151,
|
|
305
|
+
QuotedLabelMatcher = 152,
|
|
306
|
+
StepInvariantExpr = 153,
|
|
307
|
+
At = 154,
|
|
308
|
+
AtModifierPreprocessors = 155,
|
|
309
|
+
MetricName = 156;
|
|
307
310
|
|
|
308
311
|
exports.Abs = Abs;
|
|
309
312
|
exports.Absent = Absent;
|
|
@@ -450,6 +453,9 @@ exports.Tanh = Tanh;
|
|
|
450
453
|
exports.Time = Time;
|
|
451
454
|
exports.Timestamp = Timestamp;
|
|
452
455
|
exports.Topk = Topk;
|
|
456
|
+
exports.TsOfLastOverTime = TsOfLastOverTime;
|
|
457
|
+
exports.TsOfMaxOverTime = TsOfMaxOverTime;
|
|
458
|
+
exports.TsOfMinOverTime = TsOfMinOverTime;
|
|
453
459
|
exports.UnaryExpr = UnaryExpr;
|
|
454
460
|
exports.UnaryOp = UnaryOp;
|
|
455
461
|
exports.Unless = Unless;
|
package/dist/index.d.ts
CHANGED
package/dist/index.es.js
CHANGED
|
@@ -2,8 +2,8 @@ import { LRParser } from '@lezer/lr';
|
|
|
2
2
|
import { styleTags, tags } from '@lezer/highlight';
|
|
3
3
|
|
|
4
4
|
// This file was generated by lezer-generator. You probably shouldn't edit it.
|
|
5
|
-
const inf$1 =
|
|
6
|
-
nan$1 =
|
|
5
|
+
const inf$1 = 161,
|
|
6
|
+
nan$1 = 162,
|
|
7
7
|
Bool$1 = 1,
|
|
8
8
|
Ignoring$1 = 2,
|
|
9
9
|
On$1 = 3,
|
|
@@ -126,29 +126,29 @@ const promQLHighLight = styleTags({
|
|
|
126
126
|
});
|
|
127
127
|
|
|
128
128
|
// This file was generated by lezer-generator. You probably shouldn't edit it.
|
|
129
|
-
const spec_Identifier = {__proto__:null,absent_over_time:
|
|
129
|
+
const spec_Identifier = {__proto__:null,absent_over_time:341, absent:343, abs:345, acos:347, acosh:349, asin:351, asinh:353, atan:355, atanh:357, avg_over_time:359, ceil:361, changes:363, clamp:365, clamp_max:367, clamp_min:369, cos:371, cosh:373, count_over_time:375, days_in_month:377, day_of_month:379, day_of_week:381, day_of_year:383, deg:385, delta:387, deriv:389, exp:391, floor:393, histogram_count:395, histogram_fraction:397, histogram_quantile:399, histogram_stddev:401, histogram_stdvar:403, histogram_sum:405, histogram_avg:407, double_exponential_smoothing:409, hour:411, idelta:413, increase:415, info:417, irate:419, label_replace:421, label_join:423, last_over_time:425, ln:427, log10:429, log2:431, mad_over_time:433, max_over_time:435, min_over_time:437, ts_of_max_over_time:439, ts_of_min_over_time:441, ts_of_last_over_time:443, minute:445, month:447, pi:449, predict_linear:451, present_over_time:453, quantile_over_time:455, rad:457, rate:459, resets:461, round:463, scalar:465, sgn:467, sin:469, sinh:471, sort:473, sort_desc:475, sort_by_label:477, sort_by_label_desc:479, sqrt:481, stddev_over_time:483, stdvar_over_time:485, sum_over_time:487, tan:489, tanh:491, timestamp:493, time:495, vector:497, year:499};
|
|
130
130
|
const parser = LRParser.deserialize({
|
|
131
131
|
version: 14,
|
|
132
|
-
states: "
|
|
133
|
-
stateData: "
|
|
134
|
-
goto: ")
|
|
135
|
-
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 Floor HistogramCount HistogramFraction HistogramQuantile HistogramStdDev HistogramStdVar HistogramSum HistogramAvg DoubleExponentialSmoothing Hour Idelta Increase Info Irate LabelReplace LabelJoin LastOverTime Ln Log10 Log2 MadOverTime 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 Timestamp Time Vector Year MatrixSelector NumberDurationLiteralInDurationContext NumberDurationLiteral OffsetExpr ParenExpr SubqueryExpr UnaryExpr UnaryOp VectorSelector LabelMatchers UnquotedLabelMatcher MatchOp EqlSingle EqlRegex NeqRegex QuotedLabelMatcher StepInvariantExpr At At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&Zzi&[zi&]zi&^zi&_zi&`zi&azi&bzi&czi&ezi&fzi&gzi&jzi~O&h%RO~Os#eOu#dO~Os$|Ou#dO$n%SO~Os$|Ou#dO~O",
|
|
134
|
+
goto: ")y$pPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPP$q$}%Z%aP%jP%z$qP&T&[PPPPPPPPPPP$q&f&rP&r&r&r&r&r&r&r&r&r&r&r&r&r&r&r&r&r&r&r&r&r&r&r&r&r&r&r&r&r&r&r&r&r&r&r&r&r&r&r&r&r&r&r&r&r&r&r&r&r&r&r&r&r&r&r&r&r&r&r&r&r&r&r&r&r&r&r&r&r&r&r&r&r&r&r&r&r&r&r$q'O'X$q$q$q$q'h$q't(T(]PPP(T$qP(dP(g(m(sPPPPP(zPPP)je^OXY#T#s#t#u#v#w$ZeROXY#T#s#t#u#v#w$ZQ#URR#n#VQ#k#SQ$^#pR%Q$vQ#fZQ$Y#jU$k$U$n${V$|$p%O%TQ#VRQ#`UR#n#UZ#r#W#X#Y#Z#[Y#q#W#X#Y#Z#[R$_#reUOXY#T#s#t#u#v#w$ZeTOXY#T#s#t#u#v#w$ZQ#z#]Q#{#^R$x$gd^OXY#T#s#t#u#v#w$ZR$O#_eYOXY#T#s#t#u#v#w$Zd]OXY#T#s#t#u#v#w$ZR#i[Q#hZV$l$U$n${Q$S#eT$T#f$kR$P#_Q$q$YR%P$qQ$[#mR$t$[S$V#f#hR$o$VQSOQ#bXQ#cYQ#m#TQ$`#sQ$a#tQ$b#uQ$c#vQ$d#wR$s$ZQ#s#WQ#t#XQ#u#YQ#v#ZR#w#[",
|
|
135
|
+
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 Floor HistogramCount HistogramFraction HistogramQuantile HistogramStdDev HistogramStdVar HistogramSum HistogramAvg DoubleExponentialSmoothing Hour Idelta Increase Info Irate LabelReplace LabelJoin LastOverTime Ln Log10 Log2 MadOverTime MaxOverTime MinOverTime 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",
|
|
136
|
+
maxTerm: 257,
|
|
137
137
|
nodeProps: [
|
|
138
|
-
["group", -12,31,37,39,54,
|
|
138
|
+
["group", -12,31,37,39,54,137,139,140,141,142,143,145,153,"Expr"]
|
|
139
139
|
],
|
|
140
140
|
propSources: [promQLHighLight],
|
|
141
141
|
skippedNodes: [0,29],
|
|
142
142
|
repeatNodeCount: 3,
|
|
143
|
-
tokenData: "4k~RwX^#lpq#lqr$ars$tst&luv'Twx'Yxy({yz)Qz{)V{|)[|})c}!O)h!O!P)o!P!Q*u!Q!R*z!R![+u![!]1O!^!_1z!_!`2X!`!a2n!b!c2{!c!}3Q!}#O3h#P#Q3m#Q#R3r#R#S3Q#S#T3w#T#o3Q#o#p4a#q#r4f#y#z#l$f$g#l#BY#BZ#l$IS$I_#l$I|$JO#l$JT$JU#l$KV$KW#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u~,pP!Q![,s~,xT&g~!O!P)o!Q![,s!g!h*W#R#S,m#X#Y*W~-^P&g~!Q![-a~-dS!Q![-a#[#]-p#a#b.U#g#h.x~-uP&g~!Q![-x~-{R!Q![-x#a#b.U#g#h.x~.ZQ&g~!Q![.a#g#h.s~.dR!Q![.a#a#b.m#g#h.x~.pP#g#h.s~.xO&g~~.}P&g~!Q![/Q~/TQ!Q![/Q#a#b.m~/`P&g~!Q![/c~/fT!Q![/c#W#X-X#[#]-p#a#b.U#g#h.x~/zP&g~!Q![/}~0QU!Q![/}#W#X-X#[#]-p#a#b.U#g#h.x#k#l/Z~0gR!Q![0p!c!i0p#T#Z0p~0uR&g~!Q![0p!c!i0p#T#Z0pV1VT&iS!ZR!Q![1f![!]1f!c!}1f#R#S1f#T#o1fR1kT!ZR!Q![1f![!]1f!c!}1f#R#S1f#T#o1f~2PP!U~!_!`2S~2XO!T~~2^Q$ZP!_!`2d#r#s2iQ2iO!QQ~2nO$[~~2sP!S~!_!`2v~2{O!R~~3QO$`~V3XT!ZRsS!Q![3Q![!]1f!c!}3Q#R#S3Q#T#o3Q~3mO&d~~3rO&h~~3wOx~~3zTO#S3w#S#T%c#T;'S3w;'S;=`4Z<%lO3w~4^P;=`<%l3w~4fO&j~~4kO&k~",
|
|
144
144
|
tokenizers: [0, 1, 2],
|
|
145
|
-
topRules: {"PromQL":[0,30],"MetricName":[1,
|
|
145
|
+
topRules: {"PromQL":[0,30],"MetricName":[1,156]},
|
|
146
146
|
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}],
|
|
147
147
|
tokenPrec: 0
|
|
148
148
|
});
|
|
149
149
|
// This file was generated by lezer-generator. You probably shouldn't edit it.
|
|
150
|
-
const inf =
|
|
151
|
-
nan =
|
|
150
|
+
const inf = 161,
|
|
151
|
+
nan = 162,
|
|
152
152
|
Bool = 1,
|
|
153
153
|
Ignoring = 2,
|
|
154
154
|
On = 3,
|
|
@@ -254,53 +254,56 @@ const inf = 158,
|
|
|
254
254
|
MadOverTime = 103,
|
|
255
255
|
MaxOverTime = 104,
|
|
256
256
|
MinOverTime = 105,
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
|
|
257
|
+
TsOfMaxOverTime = 106,
|
|
258
|
+
TsOfMinOverTime = 107,
|
|
259
|
+
TsOfLastOverTime = 108,
|
|
260
|
+
Minute = 109,
|
|
261
|
+
Month = 110,
|
|
262
|
+
Pi = 111,
|
|
263
|
+
PredictLinear = 112,
|
|
264
|
+
PresentOverTime = 113,
|
|
265
|
+
QuantileOverTime = 114,
|
|
266
|
+
Rad = 115,
|
|
267
|
+
Rate = 116,
|
|
268
|
+
Resets = 117,
|
|
269
|
+
Round = 118,
|
|
270
|
+
Scalar = 119,
|
|
271
|
+
Sgn = 120,
|
|
272
|
+
Sin = 121,
|
|
273
|
+
Sinh = 122,
|
|
274
|
+
Sort = 123,
|
|
275
|
+
SortDesc = 124,
|
|
276
|
+
SortByLabel = 125,
|
|
277
|
+
SortByLabelDesc = 126,
|
|
278
|
+
Sqrt = 127,
|
|
279
|
+
StddevOverTime = 128,
|
|
280
|
+
StdvarOverTime = 129,
|
|
281
|
+
SumOverTime = 130,
|
|
282
|
+
Tan = 131,
|
|
283
|
+
Tanh = 132,
|
|
284
|
+
Timestamp = 133,
|
|
285
|
+
Time = 134,
|
|
286
|
+
Vector = 135,
|
|
287
|
+
Year = 136,
|
|
288
|
+
MatrixSelector = 137,
|
|
289
|
+
NumberDurationLiteralInDurationContext = 138,
|
|
290
|
+
NumberDurationLiteral = 139,
|
|
291
|
+
OffsetExpr = 140,
|
|
292
|
+
ParenExpr = 141,
|
|
293
|
+
SubqueryExpr = 142,
|
|
294
|
+
UnaryExpr = 143,
|
|
295
|
+
UnaryOp = 144,
|
|
296
|
+
VectorSelector = 145,
|
|
297
|
+
LabelMatchers = 146,
|
|
298
|
+
UnquotedLabelMatcher = 147,
|
|
299
|
+
MatchOp = 148,
|
|
300
|
+
EqlSingle = 149,
|
|
301
|
+
EqlRegex = 150,
|
|
302
|
+
NeqRegex = 151,
|
|
303
|
+
QuotedLabelMatcher = 152,
|
|
304
|
+
StepInvariantExpr = 153,
|
|
305
|
+
At = 154,
|
|
306
|
+
AtModifierPreprocessors = 155,
|
|
307
|
+
MetricName = 156;
|
|
305
308
|
|
|
306
|
-
export { Abs, Absent, AbsentOverTime, Acos, Acosh, Add, AggregateExpr, AggregateModifier, AggregateOp, And, Asin, Asinh, At, AtModifierPreprocessors, Atan, Atan2, Atanh, Avg, AvgOverTime, BinaryExpr, Bool, BoolModifier, Bottomk, By, Ceil, Changes, Clamp, ClampMax, ClampMin, Cos, Cosh, Count, CountOverTime, CountValues, DayOfMonth, DayOfWeek, DayOfYear, DaysInMonth, Deg, Delta, Deriv, Div, DoubleExponentialSmoothing, End, Eql, EqlRegex, EqlSingle, Exp, Floor, FunctionCall, FunctionCallBody, FunctionIdentifier, Group, GroupLeft, GroupRight, GroupingLabels, Gte, Gtr, HistogramAvg, HistogramCount, HistogramFraction, HistogramQuantile, HistogramStdDev, HistogramStdVar, HistogramSum, Hour, Idelta, Identifier, Ignoring, Increase, Info, Irate, LabelJoin, LabelMatchers, LabelName, LabelReplace, LastOverTime, LimitK, LimitRatio, LineComment, Ln, Log10, Log2, Lss, Lte, MadOverTime, MatchOp, MatchingModifierClause, MatrixSelector, Max, MaxOverTime, MetricName, Min, MinOverTime, Minute, Mod, Month, Mul, Neq, NeqRegex, NumberDurationLiteral, NumberDurationLiteralInDurationContext, Offset, OffsetExpr, On, Or, ParenExpr, Pi, Pow, PredictLinear, PresentOverTime, PromQL, Quantile, QuantileOverTime, QuotedLabelMatcher, QuotedLabelName, Rad, Rate, Resets, Round, Scalar, Sgn, Sin, Sinh, Sort, SortByLabel, SortByLabelDesc, SortDesc, Sqrt, Start, Stddev, StddevOverTime, Stdvar, StdvarOverTime, StepInvariantExpr, StringLiteral, Sub, SubqueryExpr, Sum, SumOverTime, Tan, Tanh, Time, Timestamp, Topk, UnaryExpr, UnaryOp, Unless, UnquotedLabelMatcher, Vector, VectorSelector, Without, Year, inf, nan, parser };
|
|
309
|
+
export { Abs, Absent, AbsentOverTime, Acos, Acosh, Add, AggregateExpr, AggregateModifier, AggregateOp, And, Asin, Asinh, At, AtModifierPreprocessors, Atan, Atan2, Atanh, Avg, AvgOverTime, BinaryExpr, Bool, BoolModifier, Bottomk, By, Ceil, Changes, Clamp, ClampMax, ClampMin, Cos, Cosh, Count, CountOverTime, CountValues, DayOfMonth, DayOfWeek, DayOfYear, DaysInMonth, Deg, Delta, Deriv, Div, DoubleExponentialSmoothing, End, Eql, EqlRegex, EqlSingle, Exp, Floor, FunctionCall, FunctionCallBody, FunctionIdentifier, Group, GroupLeft, GroupRight, GroupingLabels, Gte, Gtr, HistogramAvg, HistogramCount, HistogramFraction, HistogramQuantile, HistogramStdDev, HistogramStdVar, HistogramSum, Hour, Idelta, Identifier, Ignoring, Increase, Info, Irate, LabelJoin, LabelMatchers, LabelName, LabelReplace, LastOverTime, LimitK, LimitRatio, LineComment, Ln, Log10, Log2, Lss, Lte, MadOverTime, MatchOp, MatchingModifierClause, MatrixSelector, Max, MaxOverTime, MetricName, Min, MinOverTime, Minute, Mod, Month, Mul, Neq, NeqRegex, NumberDurationLiteral, NumberDurationLiteralInDurationContext, Offset, OffsetExpr, On, Or, ParenExpr, Pi, Pow, PredictLinear, PresentOverTime, PromQL, Quantile, QuantileOverTime, QuotedLabelMatcher, QuotedLabelName, Rad, Rate, Resets, Round, Scalar, Sgn, Sin, Sinh, Sort, SortByLabel, SortByLabelDesc, SortDesc, Sqrt, Start, Stddev, StddevOverTime, Stdvar, StdvarOverTime, StepInvariantExpr, StringLiteral, Sub, SubqueryExpr, Sum, SumOverTime, Tan, Tanh, Time, Timestamp, Topk, TsOfLastOverTime, TsOfMaxOverTime, TsOfMinOverTime, UnaryExpr, UnaryOp, Unless, UnquotedLabelMatcher, Vector, VectorSelector, Without, Year, inf, nan, parser };
|