@prometheus-io/lezer-promql 0.52.0 → 0.53.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 +22 -0
- package/dist/index.cjs +134 -130
- package/dist/index.d.ts +4 -2
- package/dist/index.es.js +132 -130
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,28 @@
|
|
|
2
2
|
|
|
3
3
|
## unreleased
|
|
4
4
|
|
|
5
|
+
## 2.53.0-rc.0 / 2024-06-06
|
|
6
|
+
|
|
7
|
+
This release changes the default for GOGC, the Go runtime control for the trade-off between excess memory use and CPU usage. We have found that Prometheus operates with minimal additional CPU usage, but greatly reduced memory by adjusting the upstream Go default from 100 to 50.
|
|
8
|
+
|
|
9
|
+
* [CHANGE] Rules: Execute 1 query instead of N (where N is the number of alerts within alert rule) when restoring alerts. #13980 #14048
|
|
10
|
+
* [CHANGE] Runtime: Change GOGC threshold from 100 to 50 #14176
|
|
11
|
+
* [FEATURE] Rules: Add new option `query_offset` for each rule group via rule group configuration file and `rule_query_offset` as part of the global configuration to have more resilience for remote write delays. #14061 #14216
|
|
12
|
+
* [ENHANCEMENT] Rules: Add `rule_group_last_restore_duration_seconds` metric to measure the time it takes to restore a rule group. #13974
|
|
13
|
+
* [ENHANCEMENT] OTLP: Improve remote write format translation performance by using label set hashes for metric identifiers instead of string based ones. #14006 #13991
|
|
14
|
+
* [ENHANCEMENT] TSDB: Optimize querying with regexp matchers. #13620
|
|
15
|
+
* [BUGFIX] OTLP: Don't generate target_info unless there are metrics and at least one identifying label is defined. #13991
|
|
16
|
+
* [BUGFIX] Scrape: Do no try to ingest native histograms when the native histograms feature is turned off. This happened when protobuf scrape was enabled by for example the created time feature. #13987
|
|
17
|
+
* [BUGFIX] Scaleway SD: Use the instance's public IP if no private IP is available as the `__address__` meta label. #13941
|
|
18
|
+
* [BUGFIX] Query logger: Do not leak file descriptors on error. #13948
|
|
19
|
+
* [BUGFIX] TSDB: Let queries with heavy regex matches be cancelled and not use up the CPU. #14096 #14103 #14118 #14199
|
|
20
|
+
* [BUGFIX] API: Do not warn if result count is equal to the limit, only when exceeding the limit for the series, label-names and label-values APIs. #14116
|
|
21
|
+
* [BUGFIX] TSDB: Fix head stats and hooks when replaying a corrupted snapshot. #14079
|
|
22
|
+
|
|
23
|
+
## 2.52.1 / 2024-05-29
|
|
24
|
+
|
|
25
|
+
* [BUGFIX] Linode SD: Fix partial fetch when discovery would return more than 500 elements. #14141
|
|
26
|
+
|
|
5
27
|
## 2.52.0 / 2024-05-07
|
|
6
28
|
|
|
7
29
|
* [CHANGE] TSDB: Fix the predicate checking for blocks which are beyond the retention period to include the ones right at the retention boundary. #9633
|
package/dist/index.cjs
CHANGED
|
@@ -6,8 +6,8 @@ var lr = require('@lezer/lr');
|
|
|
6
6
|
var highlight = require('@lezer/highlight');
|
|
7
7
|
|
|
8
8
|
// This file was generated by lezer-generator. You probably shouldn't edit it.
|
|
9
|
-
const inf$1 =
|
|
10
|
-
nan$1 =
|
|
9
|
+
const inf$1 = 155,
|
|
10
|
+
nan$1 = 156,
|
|
11
11
|
Bool$1 = 1,
|
|
12
12
|
Ignoring$1 = 2,
|
|
13
13
|
On$1 = 3,
|
|
@@ -102,29 +102,29 @@ const promQLHighLight = highlight.styleTags({
|
|
|
102
102
|
});
|
|
103
103
|
|
|
104
104
|
// This file was generated by lezer-generator. You probably shouldn't edit it.
|
|
105
|
-
const spec_Identifier = {__proto__:null,absent_over_time:
|
|
105
|
+
const spec_Identifier = {__proto__:null,absent_over_time:329, absent:331, abs:333, acos:335, acosh:337, asin:339, asinh:341, atan:343, atanh:345, avg_over_time:347, ceil:349, changes:351, clamp:353, clamp_max:355, clamp_min:357, cos:359, cosh:361, count_over_time:363, days_in_month:365, day_of_month:367, day_of_week:369, day_of_year:371, deg:373, delta:375, deriv:377, exp:379, floor:381, histogram_count:383, histogram_fraction:385, histogram_quantile:387, histogram_stddev:389, histogram_stdvar:391, histogram_sum:393, histogram_avg:395, holt_winters:397, hour:399, idelta:401, increase:403, irate:405, label_replace:407, label_join:409, last_over_time:411, ln:413, log10:415, log2:417, mad_over_time:419, max_over_time:421, min_over_time:423, minute:425, month:427, pi:429, predict_linear:431, present_over_time:433, quantile_over_time:435, rad:437, rate:439, resets:441, round:443, scalar:445, sgn:447, sin:449, sinh:451, sort:453, sort_desc:455, sort_by_label:457, sort_by_label_desc:459, sqrt:461, stddev_over_time:463, stdvar_over_time:465, sum_over_time:467, tan:469, tanh:471, timestamp:473, time:475, vector:477, year:479};
|
|
106
106
|
const parser = lr.LRParser.deserialize({
|
|
107
107
|
version: 14,
|
|
108
|
-
states: "
|
|
109
|
-
stateData: "
|
|
110
|
-
goto: ")
|
|
111
|
-
nodeNames: "⚠ Bool Ignoring On GroupLeft GroupRight Offset Atan2 Avg Bottomk Count CountValues Group Max Min Quantile Stddev Stdvar Sum Topk By Without And Or Unless Start End LineComment PromQL AggregateExpr AggregateOp AggregateModifier GroupingLabels LabelName 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 HoltWinters Hour Idelta Increase 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 Duration NumberLiteral OffsetExpr ParenExpr
|
|
112
|
-
maxTerm:
|
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&l&l&l&l&l&l&l&l&l&l&l&l&l&l&l&l&l&l&l&l&l&l&l&l&l&l&l&l&l&l&l&l&l&l&l&l&l&l&l&l&l&l&l&l&l&l&l&l&l&l&l$kP&x$k$k$k$k'X$k'e't'|PPP't$kP(TP(W(^(dPPPPP(kPPP)Ze^OXY#P#o#p#q#r#s$UeROXY#P#o#p#q#r#s$UQ#QRR#j#RQ#g#OQ$X#lR${$qQ#bZQ$T#fU$f$P$i$vV$w$k$y%OQ#RRQ#[UR#j#QZ#n#S#T#U#V#WY#m#S#T#U#V#WR$Y#neUOXY#P#o#p#q#r#s$UeTOXY#P#o#p#q#r#s$Ud^OXY#P#o#p#q#r#s$UR#y#ZeYOXY#P#o#p#q#r#s$Ud]OXY#P#o#p#q#r#s$UR#e[Q#dZV$g$P$i$vQ#}#aT$O#b$fR#z#ZQ$l$TR$z$lQ$V#iR$o$VS$Q#b#dR$j$QQSOQ#^XQ#_YQ#i#PQ$Z#oQ$[#pQ$]#qQ$^#rQ$_#sR$n$UQ#o#SQ#p#TQ#q#UQ#r#VR#s#W",
|
|
111
|
+
nodeNames: "⚠ Bool Ignoring On GroupLeft GroupRight Offset Atan2 Avg Bottomk Count CountValues Group Max Min Quantile 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 HoltWinters Hour Idelta Increase 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 Duration NumberLiteral OffsetExpr ParenExpr SubqueryExpr UnaryExpr UnaryOp VectorSelector LabelMatchers UnquotedLabelMatcher MatchOp EqlSingle EqlRegex NeqRegex QuotedLabelMatcher StepInvariantExpr At AtModifierPreprocessors MetricName",
|
|
112
|
+
maxTerm: 247,
|
|
113
113
|
nodeProps: [
|
|
114
|
-
["group", -12,29,35,
|
|
114
|
+
["group", -12,29,35,37,52,131,133,134,135,136,137,139,147,"Expr"]
|
|
115
115
|
],
|
|
116
116
|
propSources: [promQLHighLight],
|
|
117
117
|
skippedNodes: [0,27],
|
|
118
118
|
repeatNodeCount: 3,
|
|
119
|
-
tokenData: "3s~RwX^#lpq#lqr$ars$tst&luv'Twx'Yxy({yz)Qz{)V{|)[|})c}!O)h!O!P)o!P!Q*o!Q!R*t!R![+l![!]0W!^!_1S!_!`1a!`!a1v!b!c2T!c!}2Y!}#O2p#P#Q2u#Q#R2z#R#S2Y#S#T3P#T#o2Y#o#p3i#q#r3n#y#z#l$f$g#l#BY#BZ#l$IS$I_#l$I|$JO#l$JT$JU#l$KV$KW#l&FU&FV#l~#qY$
|
|
119
|
+
tokenData: "3s~RwX^#lpq#lqr$ars$tst&luv'Twx'Yxy({yz)Qz{)V{|)[|})c}!O)h!O!P)o!P!Q*o!Q!R*t!R![+l![!]0W!^!_1S!_!`1a!`!a1v!b!c2T!c!}2Y!}#O2p#P#Q2u#Q#R2z#R#S2Y#S#T3P#T#o2Y#o#p3i#q#r3n#y#z#l$f$g#l#BY#BZ#l$IS$I_#l$I|$JO#l$JT$JU#l$KV$KW#l&FU&FV#l~#qY$d~X^#lpq#l#y#z#l$f$g#l#BY#BZ#l$IS$I_#l$I|$JO#l$JT$JU#l$KV$KW#l&FU&FV#l~$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#T#o0nR0sT!XR!Q![0n![!]0n!c!}0n#R#S0n#T#o0n~1XP!S~!_!`1[~1aO!R~~1fQ$TP!_!`1l#r#s1qQ1qO!OQ~1vO$U~~1{P!Q~!_!`2O~2TO!P~~2YO$Y~V2aT!XRqS!Q![2Y![!]0n!c!}2Y#R#S2Y#T#o2Y~2uO&Y~~2zO&Z~~3POv~~3STO#S3P#S#T%c#T;'S3P;'S;=`3c<%lO3P~3fP;=`<%l3P~3nO&`~~3sO&a~",
|
|
120
120
|
tokenizers: [0, 1, 2],
|
|
121
|
-
topRules: {"PromQL":[0,28],"MetricName":[1,
|
|
122
|
-
specialized: [{term:
|
|
121
|
+
topRules: {"PromQL":[0,28],"MetricName":[1,150]},
|
|
122
|
+
specialized: [{term: 55, get: (value, stack) => (specializeIdentifier(value) << 1), external: specializeIdentifier},{term: 55, get: (value, stack) => (extendIdentifier(value) << 1) | 1, external: extendIdentifier, extend: true},{term: 55, get: (value) => spec_Identifier[value] || -1}],
|
|
123
123
|
tokenPrec: 0
|
|
124
124
|
});
|
|
125
125
|
// This file was generated by lezer-generator. You probably shouldn't edit it.
|
|
126
|
-
const inf =
|
|
127
|
-
nan =
|
|
126
|
+
const inf = 155,
|
|
127
|
+
nan = 156,
|
|
128
128
|
Bool = 1,
|
|
129
129
|
Ignoring = 2,
|
|
130
130
|
On = 3,
|
|
@@ -158,121 +158,123 @@ const inf = 153,
|
|
|
158
158
|
AggregateModifier = 31,
|
|
159
159
|
GroupingLabels = 32,
|
|
160
160
|
LabelName = 33,
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
161
|
+
QuotedLabelName = 34,
|
|
162
|
+
StringLiteral = 35,
|
|
163
|
+
FunctionCallBody = 36,
|
|
164
|
+
BinaryExpr = 37,
|
|
165
|
+
Pow = 38,
|
|
166
|
+
BoolModifier = 39,
|
|
167
|
+
MatchingModifierClause = 40,
|
|
168
|
+
Mul = 41,
|
|
169
|
+
Div = 42,
|
|
170
|
+
Mod = 43,
|
|
171
|
+
Add = 44,
|
|
172
|
+
Sub = 45,
|
|
173
|
+
Eql = 46,
|
|
174
|
+
Gte = 47,
|
|
175
|
+
Gtr = 48,
|
|
176
|
+
Lte = 49,
|
|
177
|
+
Lss = 50,
|
|
178
|
+
Neq = 51,
|
|
179
|
+
FunctionCall = 52,
|
|
180
|
+
FunctionIdentifier = 53,
|
|
181
|
+
AbsentOverTime = 54,
|
|
182
|
+
Identifier = 55,
|
|
183
|
+
Absent = 56,
|
|
184
|
+
Abs = 57,
|
|
185
|
+
Acos = 58,
|
|
186
|
+
Acosh = 59,
|
|
187
|
+
Asin = 60,
|
|
188
|
+
Asinh = 61,
|
|
189
|
+
Atan = 62,
|
|
190
|
+
Atanh = 63,
|
|
191
|
+
AvgOverTime = 64,
|
|
192
|
+
Ceil = 65,
|
|
193
|
+
Changes = 66,
|
|
194
|
+
Clamp = 67,
|
|
195
|
+
ClampMax = 68,
|
|
196
|
+
ClampMin = 69,
|
|
197
|
+
Cos = 70,
|
|
198
|
+
Cosh = 71,
|
|
199
|
+
CountOverTime = 72,
|
|
200
|
+
DaysInMonth = 73,
|
|
201
|
+
DayOfMonth = 74,
|
|
202
|
+
DayOfWeek = 75,
|
|
203
|
+
DayOfYear = 76,
|
|
204
|
+
Deg = 77,
|
|
205
|
+
Delta = 78,
|
|
206
|
+
Deriv = 79,
|
|
207
|
+
Exp = 80,
|
|
208
|
+
Floor = 81,
|
|
209
|
+
HistogramCount = 82,
|
|
210
|
+
HistogramFraction = 83,
|
|
211
|
+
HistogramQuantile = 84,
|
|
212
|
+
HistogramStdDev = 85,
|
|
213
|
+
HistogramStdVar = 86,
|
|
214
|
+
HistogramSum = 87,
|
|
215
|
+
HistogramAvg = 88,
|
|
216
|
+
HoltWinters = 89,
|
|
217
|
+
Hour = 90,
|
|
218
|
+
Idelta = 91,
|
|
219
|
+
Increase = 92,
|
|
220
|
+
Irate = 93,
|
|
221
|
+
LabelReplace = 94,
|
|
222
|
+
LabelJoin = 95,
|
|
223
|
+
LastOverTime = 96,
|
|
224
|
+
Ln = 97,
|
|
225
|
+
Log10 = 98,
|
|
226
|
+
Log2 = 99,
|
|
227
|
+
MadOverTime = 100,
|
|
228
|
+
MaxOverTime = 101,
|
|
229
|
+
MinOverTime = 102,
|
|
230
|
+
Minute = 103,
|
|
231
|
+
Month = 104,
|
|
232
|
+
Pi = 105,
|
|
233
|
+
PredictLinear = 106,
|
|
234
|
+
PresentOverTime = 107,
|
|
235
|
+
QuantileOverTime = 108,
|
|
236
|
+
Rad = 109,
|
|
237
|
+
Rate = 110,
|
|
238
|
+
Resets = 111,
|
|
239
|
+
Round = 112,
|
|
240
|
+
Scalar = 113,
|
|
241
|
+
Sgn = 114,
|
|
242
|
+
Sin = 115,
|
|
243
|
+
Sinh = 116,
|
|
244
|
+
Sort = 117,
|
|
245
|
+
SortDesc = 118,
|
|
246
|
+
SortByLabel = 119,
|
|
247
|
+
SortByLabelDesc = 120,
|
|
248
|
+
Sqrt = 121,
|
|
249
|
+
StddevOverTime = 122,
|
|
250
|
+
StdvarOverTime = 123,
|
|
251
|
+
SumOverTime = 124,
|
|
252
|
+
Tan = 125,
|
|
253
|
+
Tanh = 126,
|
|
254
|
+
Timestamp = 127,
|
|
255
|
+
Time = 128,
|
|
256
|
+
Vector = 129,
|
|
257
|
+
Year = 130,
|
|
258
|
+
MatrixSelector = 131,
|
|
259
|
+
Duration = 132,
|
|
260
|
+
NumberLiteral = 133,
|
|
261
|
+
OffsetExpr = 134,
|
|
262
|
+
ParenExpr = 135,
|
|
263
|
+
SubqueryExpr = 136,
|
|
264
|
+
UnaryExpr = 137,
|
|
265
|
+
UnaryOp = 138,
|
|
266
|
+
VectorSelector = 139,
|
|
267
|
+
LabelMatchers = 140,
|
|
268
|
+
UnquotedLabelMatcher = 141,
|
|
269
|
+
MatchOp = 142,
|
|
270
|
+
EqlSingle = 143,
|
|
271
|
+
EqlRegex = 144,
|
|
272
|
+
NeqRegex = 145,
|
|
273
|
+
QuotedLabelMatcher = 146,
|
|
274
|
+
StepInvariantExpr = 147,
|
|
275
|
+
At = 148,
|
|
276
|
+
AtModifierPreprocessors = 149,
|
|
277
|
+
MetricName = 150;
|
|
276
278
|
|
|
277
279
|
exports.Abs = Abs;
|
|
278
280
|
exports.Absent = Absent;
|
|
@@ -347,7 +349,6 @@ exports.Ignoring = Ignoring;
|
|
|
347
349
|
exports.Increase = Increase;
|
|
348
350
|
exports.Irate = Irate;
|
|
349
351
|
exports.LabelJoin = LabelJoin;
|
|
350
|
-
exports.LabelMatcher = LabelMatcher;
|
|
351
352
|
exports.LabelMatchers = LabelMatchers;
|
|
352
353
|
exports.LabelName = LabelName;
|
|
353
354
|
exports.LabelReplace = LabelReplace;
|
|
@@ -386,6 +387,8 @@ exports.PresentOverTime = PresentOverTime;
|
|
|
386
387
|
exports.PromQL = PromQL;
|
|
387
388
|
exports.Quantile = Quantile;
|
|
388
389
|
exports.QuantileOverTime = QuantileOverTime;
|
|
390
|
+
exports.QuotedLabelMatcher = QuotedLabelMatcher;
|
|
391
|
+
exports.QuotedLabelName = QuotedLabelName;
|
|
389
392
|
exports.Rad = Rad;
|
|
390
393
|
exports.Rate = Rate;
|
|
391
394
|
exports.Resets = Resets;
|
|
@@ -418,6 +421,7 @@ exports.Topk = Topk;
|
|
|
418
421
|
exports.UnaryExpr = UnaryExpr;
|
|
419
422
|
exports.UnaryOp = UnaryOp;
|
|
420
423
|
exports.Unless = Unless;
|
|
424
|
+
exports.UnquotedLabelMatcher = UnquotedLabelMatcher;
|
|
421
425
|
exports.Vector = Vector;
|
|
422
426
|
exports.VectorSelector = VectorSelector;
|
|
423
427
|
exports.Without = Without;
|
package/dist/index.d.ts
CHANGED
|
@@ -53,6 +53,8 @@ export const
|
|
|
53
53
|
AggregateModifier: number,
|
|
54
54
|
GroupingLabels: number,
|
|
55
55
|
LabelName: number,
|
|
56
|
+
QuotedLabelName: number,
|
|
57
|
+
StringLiteral: number,
|
|
56
58
|
FunctionCallBody: number,
|
|
57
59
|
BinaryExpr: number,
|
|
58
60
|
Pow: number,
|
|
@@ -153,17 +155,17 @@ export const
|
|
|
153
155
|
NumberLiteral: number,
|
|
154
156
|
OffsetExpr: number,
|
|
155
157
|
ParenExpr: number,
|
|
156
|
-
StringLiteral: number,
|
|
157
158
|
SubqueryExpr: number,
|
|
158
159
|
UnaryExpr: number,
|
|
159
160
|
UnaryOp: number,
|
|
160
161
|
VectorSelector: number,
|
|
161
162
|
LabelMatchers: number,
|
|
162
|
-
|
|
163
|
+
UnquotedLabelMatcher: number,
|
|
163
164
|
MatchOp: number,
|
|
164
165
|
EqlSingle: number,
|
|
165
166
|
EqlRegex: number,
|
|
166
167
|
NeqRegex: number,
|
|
168
|
+
QuotedLabelMatcher: number,
|
|
167
169
|
StepInvariantExpr: number,
|
|
168
170
|
At: number,
|
|
169
171
|
AtModifierPreprocessors: number,
|
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 = 155,
|
|
6
|
+
nan$1 = 156,
|
|
7
7
|
Bool$1 = 1,
|
|
8
8
|
Ignoring$1 = 2,
|
|
9
9
|
On$1 = 3,
|
|
@@ -98,29 +98,29 @@ const promQLHighLight = styleTags({
|
|
|
98
98
|
});
|
|
99
99
|
|
|
100
100
|
// This file was generated by lezer-generator. You probably shouldn't edit it.
|
|
101
|
-
const spec_Identifier = {__proto__:null,absent_over_time:
|
|
101
|
+
const spec_Identifier = {__proto__:null,absent_over_time:329, absent:331, abs:333, acos:335, acosh:337, asin:339, asinh:341, atan:343, atanh:345, avg_over_time:347, ceil:349, changes:351, clamp:353, clamp_max:355, clamp_min:357, cos:359, cosh:361, count_over_time:363, days_in_month:365, day_of_month:367, day_of_week:369, day_of_year:371, deg:373, delta:375, deriv:377, exp:379, floor:381, histogram_count:383, histogram_fraction:385, histogram_quantile:387, histogram_stddev:389, histogram_stdvar:391, histogram_sum:393, histogram_avg:395, holt_winters:397, hour:399, idelta:401, increase:403, irate:405, label_replace:407, label_join:409, last_over_time:411, ln:413, log10:415, log2:417, mad_over_time:419, max_over_time:421, min_over_time:423, minute:425, month:427, pi:429, predict_linear:431, present_over_time:433, quantile_over_time:435, rad:437, rate:439, resets:441, round:443, scalar:445, sgn:447, sin:449, sinh:451, sort:453, sort_desc:455, sort_by_label:457, sort_by_label_desc:459, sqrt:461, stddev_over_time:463, stdvar_over_time:465, sum_over_time:467, tan:469, tanh:471, timestamp:473, time:475, vector:477, year:479};
|
|
102
102
|
const parser = LRParser.deserialize({
|
|
103
103
|
version: 14,
|
|
104
|
-
states: "
|
|
105
|
-
stateData: "
|
|
106
|
-
goto: ")
|
|
107
|
-
nodeNames: "⚠ Bool Ignoring On GroupLeft GroupRight Offset Atan2 Avg Bottomk Count CountValues Group Max Min Quantile Stddev Stdvar Sum Topk By Without And Or Unless Start End LineComment PromQL AggregateExpr AggregateOp AggregateModifier GroupingLabels LabelName 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 HoltWinters Hour Idelta Increase Irate LabelReplace LabelJoin LastOverTime Ln Log10 Log2 MadOverTime MaxOverTime MinOverTime Minute Month Pi PredictLinear P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#`O$h$}O~Oq$wOs#`O~O",
|
|
106
|
+
goto: ")j$jPPPPPPPPPPPPPPPPPPPPPPPPPPPPP$k$w%T%ZP%dP%t$kP%}&UPPPPPPPPPPP$k&`&lP&l&l&l&l&l&l&l&l&l&l&l&l&l&l&l&l&l&l&l&l&l&l&l&l&l&l&l&l&l&l&l&l&l&l&l&l&l&l&l&l&l&l&l&l&l&l&l&l&l&l&l&l&l&l&l&l&l&l&l&l&l&l&l&l&l&l&l&l&l&l&l&l&l&l&l$kP&x$k$k$k$k'X$k'e't'|PPP't$kP(TP(W(^(dPPPPP(kPPP)Ze^OXY#P#o#p#q#r#s$UeROXY#P#o#p#q#r#s$UQ#QRR#j#RQ#g#OQ$X#lR${$qQ#bZQ$T#fU$f$P$i$vV$w$k$y%OQ#RRQ#[UR#j#QZ#n#S#T#U#V#WY#m#S#T#U#V#WR$Y#neUOXY#P#o#p#q#r#s$UeTOXY#P#o#p#q#r#s$Ud^OXY#P#o#p#q#r#s$UR#y#ZeYOXY#P#o#p#q#r#s$Ud]OXY#P#o#p#q#r#s$UR#e[Q#dZV$g$P$i$vQ#}#aT$O#b$fR#z#ZQ$l$TR$z$lQ$V#iR$o$VS$Q#b#dR$j$QQSOQ#^XQ#_YQ#i#PQ$Z#oQ$[#pQ$]#qQ$^#rQ$_#sR$n$UQ#o#SQ#p#TQ#q#UQ#r#VR#s#W",
|
|
107
|
+
nodeNames: "⚠ Bool Ignoring On GroupLeft GroupRight Offset Atan2 Avg Bottomk Count CountValues Group Max Min Quantile 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 HoltWinters Hour Idelta Increase 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 Duration NumberLiteral OffsetExpr ParenExpr SubqueryExpr UnaryExpr UnaryOp VectorSelector LabelMatchers UnquotedLabelMatcher MatchOp EqlSingle EqlRegex NeqRegex QuotedLabelMatcher StepInvariantExpr At AtModifierPreprocessors MetricName",
|
|
108
|
+
maxTerm: 247,
|
|
109
109
|
nodeProps: [
|
|
110
|
-
["group", -12,29,35,
|
|
110
|
+
["group", -12,29,35,37,52,131,133,134,135,136,137,139,147,"Expr"]
|
|
111
111
|
],
|
|
112
112
|
propSources: [promQLHighLight],
|
|
113
113
|
skippedNodes: [0,27],
|
|
114
114
|
repeatNodeCount: 3,
|
|
115
|
-
tokenData: "3s~RwX^#lpq#lqr$ars$tst&luv'Twx'Yxy({yz)Qz{)V{|)[|})c}!O)h!O!P)o!P!Q*o!Q!R*t!R![+l![!]0W!^!_1S!_!`1a!`!a1v!b!c2T!c!}2Y!}#O2p#P#Q2u#Q#R2z#R#S2Y#S#T3P#T#o2Y#o#p3i#q#r3n#y#z#l$f$g#l#BY#BZ#l$IS$I_#l$I|$JO#l$JT$JU#l$KV$KW#l&FU&FV#l~#qY$
|
|
115
|
+
tokenData: "3s~RwX^#lpq#lqr$ars$tst&luv'Twx'Yxy({yz)Qz{)V{|)[|})c}!O)h!O!P)o!P!Q*o!Q!R*t!R![+l![!]0W!^!_1S!_!`1a!`!a1v!b!c2T!c!}2Y!}#O2p#P#Q2u#Q#R2z#R#S2Y#S#T3P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X,a#[#],x#a#b-^#g#h.QQ/SP#xQ!Q![/VQ/YU!Q![/V#W#X,a#[#],x#a#b-^#g#h.Q#k#l.cP/oR!Q![/x!c!i/x#T#Z/xP/}R&^P!Q![/x!c!i/x#T#Z/xV0_T&_S!XR!Q![0n![!]0n!c!}0n#R#S0n#T#o0nR0sT!XR!Q![0n![!]0n!c!}0n#R#S0n#T#o0n~1XP!S~!_!`1[~1aO!R~~1fQ$TP!_!`1l#r#s1qQ1qO!OQ~1vO$U~~1{P!Q~!_!`2O~2TO!P~~2YO$Y~V2aT!XRqS!Q![2Y![!]0n!c!}2Y#R#S2Y#T#o2Y~2uO&Y~~2zO&Z~~3POv~~3STO#S3P#S#T%c#T;'S3P;'S;=`3c<%lO3P~3fP;=`<%l3P~3nO&`~~3sO&a~",
|
|
116
116
|
tokenizers: [0, 1, 2],
|
|
117
|
-
topRules: {"PromQL":[0,28],"MetricName":[1,
|
|
118
|
-
specialized: [{term:
|
|
117
|
+
topRules: {"PromQL":[0,28],"MetricName":[1,150]},
|
|
118
|
+
specialized: [{term: 55, get: (value, stack) => (specializeIdentifier(value) << 1), external: specializeIdentifier},{term: 55, get: (value, stack) => (extendIdentifier(value) << 1) | 1, external: extendIdentifier, extend: true},{term: 55, get: (value) => spec_Identifier[value] || -1}],
|
|
119
119
|
tokenPrec: 0
|
|
120
120
|
});
|
|
121
121
|
// This file was generated by lezer-generator. You probably shouldn't edit it.
|
|
122
|
-
const inf =
|
|
123
|
-
nan =
|
|
122
|
+
const inf = 155,
|
|
123
|
+
nan = 156,
|
|
124
124
|
Bool = 1,
|
|
125
125
|
Ignoring = 2,
|
|
126
126
|
On = 3,
|
|
@@ -154,120 +154,122 @@ const inf = 153,
|
|
|
154
154
|
AggregateModifier = 31,
|
|
155
155
|
GroupingLabels = 32,
|
|
156
156
|
LabelName = 33,
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
157
|
+
QuotedLabelName = 34,
|
|
158
|
+
StringLiteral = 35,
|
|
159
|
+
FunctionCallBody = 36,
|
|
160
|
+
BinaryExpr = 37,
|
|
161
|
+
Pow = 38,
|
|
162
|
+
BoolModifier = 39,
|
|
163
|
+
MatchingModifierClause = 40,
|
|
164
|
+
Mul = 41,
|
|
165
|
+
Div = 42,
|
|
166
|
+
Mod = 43,
|
|
167
|
+
Add = 44,
|
|
168
|
+
Sub = 45,
|
|
169
|
+
Eql = 46,
|
|
170
|
+
Gte = 47,
|
|
171
|
+
Gtr = 48,
|
|
172
|
+
Lte = 49,
|
|
173
|
+
Lss = 50,
|
|
174
|
+
Neq = 51,
|
|
175
|
+
FunctionCall = 52,
|
|
176
|
+
FunctionIdentifier = 53,
|
|
177
|
+
AbsentOverTime = 54,
|
|
178
|
+
Identifier = 55,
|
|
179
|
+
Absent = 56,
|
|
180
|
+
Abs = 57,
|
|
181
|
+
Acos = 58,
|
|
182
|
+
Acosh = 59,
|
|
183
|
+
Asin = 60,
|
|
184
|
+
Asinh = 61,
|
|
185
|
+
Atan = 62,
|
|
186
|
+
Atanh = 63,
|
|
187
|
+
AvgOverTime = 64,
|
|
188
|
+
Ceil = 65,
|
|
189
|
+
Changes = 66,
|
|
190
|
+
Clamp = 67,
|
|
191
|
+
ClampMax = 68,
|
|
192
|
+
ClampMin = 69,
|
|
193
|
+
Cos = 70,
|
|
194
|
+
Cosh = 71,
|
|
195
|
+
CountOverTime = 72,
|
|
196
|
+
DaysInMonth = 73,
|
|
197
|
+
DayOfMonth = 74,
|
|
198
|
+
DayOfWeek = 75,
|
|
199
|
+
DayOfYear = 76,
|
|
200
|
+
Deg = 77,
|
|
201
|
+
Delta = 78,
|
|
202
|
+
Deriv = 79,
|
|
203
|
+
Exp = 80,
|
|
204
|
+
Floor = 81,
|
|
205
|
+
HistogramCount = 82,
|
|
206
|
+
HistogramFraction = 83,
|
|
207
|
+
HistogramQuantile = 84,
|
|
208
|
+
HistogramStdDev = 85,
|
|
209
|
+
HistogramStdVar = 86,
|
|
210
|
+
HistogramSum = 87,
|
|
211
|
+
HistogramAvg = 88,
|
|
212
|
+
HoltWinters = 89,
|
|
213
|
+
Hour = 90,
|
|
214
|
+
Idelta = 91,
|
|
215
|
+
Increase = 92,
|
|
216
|
+
Irate = 93,
|
|
217
|
+
LabelReplace = 94,
|
|
218
|
+
LabelJoin = 95,
|
|
219
|
+
LastOverTime = 96,
|
|
220
|
+
Ln = 97,
|
|
221
|
+
Log10 = 98,
|
|
222
|
+
Log2 = 99,
|
|
223
|
+
MadOverTime = 100,
|
|
224
|
+
MaxOverTime = 101,
|
|
225
|
+
MinOverTime = 102,
|
|
226
|
+
Minute = 103,
|
|
227
|
+
Month = 104,
|
|
228
|
+
Pi = 105,
|
|
229
|
+
PredictLinear = 106,
|
|
230
|
+
PresentOverTime = 107,
|
|
231
|
+
QuantileOverTime = 108,
|
|
232
|
+
Rad = 109,
|
|
233
|
+
Rate = 110,
|
|
234
|
+
Resets = 111,
|
|
235
|
+
Round = 112,
|
|
236
|
+
Scalar = 113,
|
|
237
|
+
Sgn = 114,
|
|
238
|
+
Sin = 115,
|
|
239
|
+
Sinh = 116,
|
|
240
|
+
Sort = 117,
|
|
241
|
+
SortDesc = 118,
|
|
242
|
+
SortByLabel = 119,
|
|
243
|
+
SortByLabelDesc = 120,
|
|
244
|
+
Sqrt = 121,
|
|
245
|
+
StddevOverTime = 122,
|
|
246
|
+
StdvarOverTime = 123,
|
|
247
|
+
SumOverTime = 124,
|
|
248
|
+
Tan = 125,
|
|
249
|
+
Tanh = 126,
|
|
250
|
+
Timestamp = 127,
|
|
251
|
+
Time = 128,
|
|
252
|
+
Vector = 129,
|
|
253
|
+
Year = 130,
|
|
254
|
+
MatrixSelector = 131,
|
|
255
|
+
Duration = 132,
|
|
256
|
+
NumberLiteral = 133,
|
|
257
|
+
OffsetExpr = 134,
|
|
258
|
+
ParenExpr = 135,
|
|
259
|
+
SubqueryExpr = 136,
|
|
260
|
+
UnaryExpr = 137,
|
|
261
|
+
UnaryOp = 138,
|
|
262
|
+
VectorSelector = 139,
|
|
263
|
+
LabelMatchers = 140,
|
|
264
|
+
UnquotedLabelMatcher = 141,
|
|
265
|
+
MatchOp = 142,
|
|
266
|
+
EqlSingle = 143,
|
|
267
|
+
EqlRegex = 144,
|
|
268
|
+
NeqRegex = 145,
|
|
269
|
+
QuotedLabelMatcher = 146,
|
|
270
|
+
StepInvariantExpr = 147,
|
|
271
|
+
At = 148,
|
|
272
|
+
AtModifierPreprocessors = 149,
|
|
273
|
+
MetricName = 150;
|
|
272
274
|
|
|
273
|
-
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, Duration, End, Eql, EqlRegex, EqlSingle, Exp, Floor, FunctionCall, FunctionCallBody, FunctionIdentifier, Group, GroupLeft, GroupRight, GroupingLabels, Gte, Gtr, HistogramAvg, HistogramCount, HistogramFraction, HistogramQuantile, HistogramStdDev, HistogramStdVar, HistogramSum, HoltWinters, Hour, Idelta, Identifier, Ignoring, Increase, Irate, LabelJoin,
|
|
275
|
+
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, Duration, End, Eql, EqlRegex, EqlSingle, Exp, Floor, FunctionCall, FunctionCallBody, FunctionIdentifier, Group, GroupLeft, GroupRight, GroupingLabels, Gte, Gtr, HistogramAvg, HistogramCount, HistogramFraction, HistogramQuantile, HistogramStdDev, HistogramStdVar, HistogramSum, HoltWinters, Hour, Idelta, Identifier, Ignoring, Increase, Irate, LabelJoin, LabelMatchers, LabelName, LabelReplace, LastOverTime, LineComment, Ln, Log10, Log2, Lss, Lte, MadOverTime, MatchOp, MatchingModifierClause, MatrixSelector, Max, MaxOverTime, MetricName, Min, MinOverTime, Minute, Mod, Month, Mul, Neq, NeqRegex, NumberLiteral, 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 };
|