Commit Graph

37 Commits (9c4782f1cc34f85f07daaaed14af2e7ad1ff56a0)

Author SHA1 Message Date
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 3 years ago
Filip Petkovski 97c7fffbb8
parser: Allow parsing arbitrary functions 3 years ago
Julien Pivotto 1fd59791e1 Update tests 3 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) 4 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) 5 years ago
Callum Styan 289ba11b79
Add circular in-memory exemplars storage (#6635) 5 years ago
schou 0c577c547b add negative offset ability 5 years ago
Danny Kopping 42a0e0acad
Prevent lexer from seeking to next rune after lexing escape sequence. (#8517) 5 years ago
Ganesh Vernekar 86c71856e8
Add start() and end() pre-processors for @ modifier (#8425) 5 years ago
Ganesh Vernekar 9199fcb8d1
'@ <timestamp>' modifier (#8121) 5 years ago
Atibhi Agrawal 0dd6e0cb76
change string(model.metricnamelabel) to model.metricnamelabel (#8289) 5 years ago
Brian Brazil bef9d4e182
Don't include rendered expression in parse errors. (#8177) 5 years ago
Julien Pivotto 6c56a1faaa
Testify: move to require (#8122) 5 years ago
Julien Pivotto 1282d1b39c
Refactor test assertions (#8110) 5 years ago
Julien Pivotto 4e5b1722b3
Move away from testutil, refactor imports (#8087) 5 years ago
Harkishen Singh fc8e769d71
Use ASSIGN when using = inside braces (#7911) 5 years ago
Julien Pivotto d867491364
Human-friendly durations in PromQL (#7713) 5 years ago
Tobias Guggenmos 012161d90d
PromQL: Fix lexer error handling (#6958) 6 years ago
Julien Pivotto 5ddd1dcf0f
Fix panic when parsing varags (#6940) 6 years ago
Tobias Guggenmos 1dbd799354
PromQL: Fix regression tests (#6935) 6 years ago
Brian Brazil 44ad28dd5e
PromQL: Allow more keywords as metric names (#6933) 6 years ago
Brian Brazil 7164b58945
PromQL: Fix parser panic (#6931) 6 years ago
Tobias Guggenmos 6c00f2ffcb Comment fixes 6 years ago
Tobias Guggenmos 1360f9ff12 Fix all build errors in promql package 6 years ago
Tobias Guggenmos 6b1b323558 Export sequenceValue 6 years ago
Tobias Guggenmos 65f5b9827d Rename package 6 years ago
Tobias Guggenmos e7c2716f55 Move files 6 years ago
Julien Pivotto cf42888e4d Fix order of testutil.Equals (#6695) 6 years ago
Tobias Guggenmos f5eed7ae0a PromQL: Fix panic in parser (#6650) 6 years ago
Tobias Guggenmos 2ca25d1c96 PromQL: Don't panic on syntax errors (#6643) 6 years ago
Tobias Guggenmos d642570924 PromQL: Use PositionRange in parser errors (#6634) 6 years ago
Tobias Guggenmos 0c8e9ef09e PromQL: Add position metadata to the AST (#6615) 6 years ago
Tobias Guggenmos 64194f7d45 PromQL: AST: Make VectorSelector Children of MatrixSelector (#6590) 6 years ago
Tobias Guggenmos b18b6cb332 PromQL: Avoid lexer item copies and allocations (#6584) 6 years ago
Tobias Guggenmos d8bc24349c PromQL: Fix unary operator precedence (#6579) 6 years ago
Tobias Guggenmos 3d6cf1c289 PromQL: Make parser completely generated (#6548) 6 years ago
Tobias Guggenmos 1e0cd28bf6 PromQL: Support trailing commas in grouping opts (#6480) 6 years ago
Tobias Guggenmos db1258f2a5 PromQL: Refactor error message generation (#6481) 6 years ago
Tobias Guggenmos 8cb4a48e2e PromQL: Parse label sets using the generated parser (#6432) 6 years ago
Tobias Guggenmos 35c1f31721 PromQL: Use more standart format for error positions (#6433) 6 years ago