Commit Graph

71 Commits (71217a6e43514c7c1b227128f9650df2c9a8e0fd)

Author SHA1 Message Date
Simon Pasquier 71217a6e43
fix: prevent invalid array access in aggregate expression 1 week ago
Julien Pivotto 6d56e77e0e promql: Fix unary operator precedence in duration expressions 2 weeks ago
György Krajcsovits 06d0b063ea fix(parser): parenthesis around aggregate expression parsing 2 months ago
Lukasz Mierzwa ba690a8c4c Add a test for aggregation wrapped in ParenExpr 2 months ago
Zhang Zhanpeng 0658923bf0 fix conversion from time range in seconds to time duration at parser 2 months ago
Neeraj Gartia f83e964231 fix NH load expression with incrementation more than once 3 months ago
Julien Pivotto 2f6ad79edf Move calculation to the engine 3 months ago
Julien Pivotto 9cfd6f7df8 PromQL duration expr: Add a check for durations our of range 3 months ago
Julien Pivotto 7370d62acf PromQL: allow arithmetic in durations in PromQL parser 3 months ago
Matthieu MOREL 5fa1146e21
chore: enable gci linter (#16245) 3 months ago
Owen Williams 94b43c5d4c utf8: Remove support for legacy global validation setting 4 months ago
Owen Williams 8d4bcd2c77 promql: Fix various UTF-8 bugs related to quoting 7 months ago
Arve Knudsen de16f5e387
[FEATURE] PromQL: Add experimental info function MVP (#14495) 8 months ago
Matthieu MOREL ab64966e9d
fix: use "ErrorContains" or "EqualError" instead of "Contains(t, err.Error()" and "Equal(t, err.Error()" (#15094) 9 months ago
Björn Rabenstein 1639450172 Merge pull request #14821 from charleskorn/nh-negative-multiplication-division 9 months ago
Charles Korn 2bdb3452d1
Modify parser for native histograms to allow negative values where supported 10 months ago
Charles Korn e67358d203
histogram: include counter reset hint in test expression output 10 months ago
Owen Williams d90c5a71d7 support quoting in grouping label lists 11 months ago
Charles Korn 7fab72a280
promqltest: add support for setting counter reset hint on histogram samples (#14537) 11 months ago
darshanime bd4ea118e9 Allow durations for number rule 12 months ago
darshanime cfad8ff3b2 Deprecate duration token 12 months ago
darshanime 8c8860d2d6 Allow number literals as duration 12 months ago
Pranshu Srivastava 3c9e3ee552
parser: support underscores 1 year ago
Bryan Boreham 7c28521451 [TESTS] Truncate some long test names, for readability 1 year ago
Owen Williams e01e7d36e2 fix: restore ability to match __name__ multiple times in selector 1 year ago
Owen Williams ac51a8024c tests(utf8): confirm that other quote marks are handled correctly in promql 1 year ago
Owen Williams a28d7865ad UTF-8: Add support for parsing UTF8 metric and label names 1 year ago
Bryan Boreham 17f48f2b3b Tests: use replacement DeepEquals in more places 1 year ago
Marco Pracucci f639d7794c
Fix TestParseExpressions 1 year ago
Matthieu MOREL 9c4782f1cc
golangci-lint: enable testifylint linter (#13254) 2 years ago
Oleksandr Redko 8e5f0387a2
ci(lint): enable nolintlint and remove redundant comments (#12926) 2 years ago
zenador 69edd8709b
Add warnings (and annotations) to PromQL query results (#12152) 2 years ago
Gregor Zeitlinger f01718262a
Unit tests for native histograms (#12668) 2 years ago
Matthieu MOREL fb3eb21230 enable gocritic, unconvert and unused linters 2 years ago
Filip Petkovski 97c7fffbb8
parser: Allow parsing arbitrary functions 2 years ago
Julien Pivotto 1fd59791e1 Update tests 2 years ago
Bryan Boreham b01d29cf9e promql: in tests use labels.FromStrings 3 years ago
Matthieu MOREL 0906f2eafa
refactor (promql): move from github.com/pkg/errors to 'errors' and 'fmt' (#10817) 3 years ago
beorn7 c954cd9d1d Move packages out of deprecated pkg directory 4 years ago
Mateusz Gozdek 1a6c2283a3 Format Go source files using 'gofumpt -w -s -extra' 4 years ago
Julien Pivotto cab96a06ef
Merge release 2.29 in main (#9196) 4 years ago
Clayton Peters e7d55acbf9 Add in additional tests for metrics and/or labels called start/end. 4 years ago
Clayton Peters 6b4bf3f697 PromQL: Fix start and end keywords masking label and metric names 4 years ago
Julius Volz e313ffa8ab
Fix "instant selector vector" typo in error messages (#8800) 4 years ago
Callum Styan 289ba11b79
Add circular in-memory exemplars storage (#6635) 4 years ago
schou 0c577c547b add negative offset ability 4 years ago
Danny Kopping 42a0e0acad
Prevent lexer from seeking to next rune after lexing escape sequence. (#8517) 4 years ago
Ganesh Vernekar 86c71856e8
Add start() and end() pre-processors for @ modifier (#8425) 4 years ago
Ganesh Vernekar 9199fcb8d1
'@ <timestamp>' modifier (#8121) 4 years ago
Atibhi Agrawal 0dd6e0cb76
change string(model.metricnamelabel) to model.metricnamelabel (#8289) 5 years ago