115 Commits (0512ebf9da6f92c4aa2b02b3341fbf7f52f2fa72)

Author SHA1 Message Date
Levi Harrison f5c6ee4df6 Add lex test 3 years ago
Levi Harrison 7471208b5c Add `ATAN2` to `maybe_label` 3 years ago
Levi Harrison 8547a2bd86 Add `atan2` binary operator 3 years ago
Levi Harrison 6faca22eec Add inverse hyperbolic functions 3 years ago
Levi Harrison 53d88fd147 Added hyperbolic trig functions 3 years ago
Levi Harrison ecc29d38b8 Fixed `pi` definition 3 years ago
Levi Harrison 9fc7ba33aa Remove `atan2()` 3 years ago
Levi Harrison d5ecdc4597 Remove variadic 3 years ago
Levi Harrison 309e020c0a Added functions 3 years ago
Paweł Szulik f5563bfe95
tests: Move from t.Errorf and others. (Part 2) (#9309) 3 years ago
Oleg Zaytsev 0a43e788af
Allow VectorSelector.String() without matchers (#9282) 3 years ago
Julien Pivotto cab96a06ef
Merge release 2.29 in main (#9196) 3 years ago
Darshan Chaudhary c4f2e9eec5
Add present_over_time (#9097) 3 years ago
Clayton Peters e7d55acbf9 Add in additional tests for metrics and/or labels called start/end. 3 years ago
Clayton Peters 6b4bf3f697 PromQL: Fix start and end keywords masking label and metric names 3 years ago
Levi Harrison 4a4882d4c7 Replace godoc.org links 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
schou 3bafe17870 add negative offset to printer 4 years ago
schou efbf3af05d reduce addOffst to 2 parameters 4 years ago
schou 851acf86ee rebuild generated_parser.y.go 4 years ago
schou 0c577c547b add negative offset ability 4 years ago
pschou aff3c702ab
promql: Add sgn, clamp and last_over_time functions (#8457) 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
Julien Pivotto 34656bbf8e
PromQL parser: fastpath for non-empty matchers and metric name (#8345) 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
johncming 267dd17fe7
promql/parser: use pos instead of origin. (#7853) 4 years ago
Julien Pivotto d867491364
Human-friendly durations in PromQL (#7713) 4 years ago
johncming 31929b83d5
promql: use explicit type declare instead of string. (#7716) 4 years ago
Owen Diehl 00b7bdb1b6
parser.{Expr,Statement} publicly implementable (#7639) 4 years ago
Guangwen Feng 6b7ac2ac1b
Add unit test case to improve test coverage for matcher.go (#7658) 4 years ago
Guangwen Feng b30654211c
Fix incorrect arguments order in TestExprString (#7602) 4 years ago
Tobias Guggenmos 1f73073d73
Make without a valid metric identifier (#7533) 4 years ago
Julien Pivotto 72425d4e3d
Add group() aggregator (#7480) 4 years ago
Guangwen Feng 9ab072b470
Fix golint issue caused by typo (#7475) 4 years ago
Julien Pivotto 7eedcc708e promql/parser: Cleanup generatedParserResult accross reuse 5 years ago
Julien Pivotto 1f6f8e60ee promql/parser: Cleanup generatedParserResult accross reuse 5 years ago
Ben Kochie 269e7c8091
Fix golint issues. 5 years ago
johncming bdc45c2b9e
remove unused code. (#7019) 5 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