Commit Graph

53 Commits (1da185244e64b3c68b63f9e3cb412d9a87aa7233)

Author SHA1 Message Date
Björn Rabenstein 5b9148e552
Merge pull request #14820 from charleskorn/promqltest-native-histogram-format
2 months ago
Charles Korn 2bdb3452d1
Modify parser for native histograms to allow negative values where supported
3 months ago
Charles Korn e67358d203
histogram: include counter reset hint in test expression output
3 months ago
Owen Williams d90c5a71d7 support quoting in grouping label lists
4 months ago
Charles Korn 7fab72a280
promqltest: add support for setting counter reset hint on histogram samples (#14537)
4 months ago
darshanime bd4ea118e9 Allow durations for number rule
5 months ago
darshanime cfad8ff3b2 Deprecate duration token
5 months ago
darshanime 8c8860d2d6 Allow number literals as duration
5 months ago
Pranshu Srivastava 3c9e3ee552
parser: support underscores
5 months ago
Bryan Boreham 7c28521451 [TESTS] Truncate some long test names, for readability
8 months ago
Bryan Boreham 080d440bf8 Merge remote-tracking branch 'origin/main' into pr/13461
8 months ago
Owen Williams e01e7d36e2 fix: restore ability to match __name__ multiple times in selector
9 months ago
Owen Williams ac51a8024c tests(utf8): confirm that other quote marks are handled correctly in promql
9 months ago
Owen Williams a28d7865ad UTF-8: Add support for parsing UTF8 metric and label names
10 months ago
Bryan Boreham 17f48f2b3b Tests: use replacement DeepEquals in more places
10 months ago
Marco Pracucci f639d7794c
Fix TestParseExpressions
10 months ago
Matthieu MOREL 9c4782f1cc
golangci-lint: enable testifylint linter (#13254)
1 year ago
Oleksandr Redko 8e5f0387a2
ci(lint): enable nolintlint and remove redundant comments (#12926)
1 year ago
zenador 69edd8709b
Add warnings (and annotations) to PromQL query results (#12152)
1 year ago
Gregor Zeitlinger f01718262a
Unit tests for native histograms (#12668)
1 year ago
Julien Pivotto a605b81b14
Merge pull request #12170 from fpetkovski/parser-inject-functions
1 year 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
2 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
3 years ago
Mateusz Gozdek 1a6c2283a3 Format Go source files using 'gofumpt -w -s -extra'
3 years ago
Julien Pivotto cab96a06ef
Merge release 2.29 in main (#9196)
3 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
pschou f80b52be69
Merge branch 'main' into dev_neg_offset
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)
4 years ago
Brian Brazil bef9d4e182
Don't include rendered expression in parse errors. (#8177)
4 years ago
Julien Pivotto 6c56a1faaa
Testify: move to require (#8122)
4 years ago
Julien Pivotto 1282d1b39c
Refactor test assertions (#8110)
4 years ago
Julien Pivotto 4e5b1722b3
Move away from testutil, refactor imports (#8087)
4 years ago
Harkishen Singh fc8e769d71
Use ASSIGN when using = inside braces (#7911)
4 years ago
Julien Pivotto d867491364
Human-friendly durations in PromQL (#7713)
4 years ago
Tobias Guggenmos 012161d90d
PromQL: Fix lexer error handling (#6958)
5 years ago
Julien Pivotto 5ddd1dcf0f
Fix panic when parsing varags (#6940)
5 years ago
Tobias Guggenmos 1dbd799354
PromQL: Fix regression tests (#6935)
5 years ago
Brian Brazil 44ad28dd5e
PromQL: Allow more keywords as metric names (#6933)
5 years ago
Brian Brazil 7164b58945
PromQL: Fix parser panic (#6931)
5 years ago
Tobias Guggenmos 6c00f2ffcb Comment fixes
5 years ago
Tobias Guggenmos 1360f9ff12 Fix all build errors in promql package
5 years ago