561 Commits (dd5a46aa47665d7b9dcb46d9c5e45152e9786222)

Author SHA1 Message Date
songjiayang 776c2b8f42 Speed delta value without loop to calculate resultValue 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
Tom Wilkie 7369561305
Combine Appender.Add and AddFast into a single Append method. (#8489) 4 years ago
Mauro Stettler 7715fe3219
Add matchers to LabelValues() call (#8400) 4 years ago
Ganesh Vernekar 86c71856e8
Add start() and end() pre-processors for @ modifier (#8425) 4 years ago
Marcelo E. Magallon 75d86c6747 Update golangci-lint to 1.36.0 4 years ago
Ganesh Vernekar ed8d31b059
Remove empty test 4 years ago
Ganesh Vernekar b18fde996e
Fix timestamp() function for @ modifier 4 years ago
Ganesh Vernekar b5dfa2414b
Fix flaky TestAtModifier (#8401) 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
Ganesh Vernekar 063154eab7
Automate part of TestMaxQuerySamples (#8314) 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
Ganesh Vernekar d30da66d77
Fix timestamp() method for vector selector inside paren (#8164) 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
Harold Dost bf7c771f54
promql: Organize legacy tests into appropriate files (#7989) 4 years ago
Brian Brazil 924ce978b7
Don't do literal regex matching optimisation when case insensitive. (#8013) 4 years ago
Harkishen Singh fc8e769d71
Use ASSIGN when using = inside braces (#7911) 4 years ago
Vijay Samuel 00ee73ef91
Export members of EvalNodeHelper to facilitate usage in external functions (#7860) 4 years ago
johncming 267dd17fe7
promql/parser: use pos instead of origin. (#7853) 4 years ago
Julien Pivotto 6f9e7ff750
Drop metric name in bool comparison between two instant vectors (#7819) 4 years ago
Julien Pivotto 20ab94fedf
Hints: Separating out the range and offsets of PromQL subqueries (#7667) 4 years ago
Annanay Agarwal 118aeab02c
Make context key type public (#7748) 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
johncming 1c1b394e5e
promql: Swap order of parseBrokenJSON. (#7718) 4 years ago
Bartlomiej Plotka e6d7cc5fa4
tsdb: Added ChunkQueryable implementations to db; unified MergeSeriesSets and vertical to single struct. (#7069) 4 years ago
Julien Pivotto 22acb87e09
refactoring: make sure that query_duration_seconds metrics are the same (#7668) 4 years ago
Owen Diehl 00b7bdb1b6
parser.{Expr,Statement} publicly implementable (#7639) 4 years ago
Annanay 7f98a744e5 Add context to Appender interface 4 years ago
Guangwen Feng 6b7ac2ac1b
Add unit test case to improve test coverage for matcher.go (#7658) 4 years ago
Julien Pivotto 93e9c010f3
Add more Go leak tests (#7652) 4 years ago
Bartlomiej Plotka 841b13641c
promql: Refactored subquery hint tests and added todos. (#7636) 4 years ago
Bartlomiej Plotka a0df8a383a
promql: Removed global and add ability to have better interval for subqueries if not specified (#7628) 4 years ago
Guangwen Feng b30654211c
Fix incorrect arguments order in TestExprString (#7602) 4 years ago
Julien Pivotto d77b56e88e
Fix avg_over_time for nan and float64 overflows (#7346) 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
Linas Medžiūnas 7eaffa7180
Fix off-by-one error in funcHistogramQuantile / ensureMonotonic (#7393) 5 years ago
Kemal Akkoyun 66dfb951c4
*: Consistent Error/Warning handling for SeriesSet iterator: Allowing Async Select (#7251) 5 years ago
Julien Pivotto 4284dd1f1b
promql: cleanup: use errors.As (#7351) 5 years ago
B++ d6374ae1b6
Return NaN for histogram_quantile when buckets have 0 observations (#7318) 5 years ago
Julien Pivotto 58c445e6ef
Fuzz: limit input size (#7317) 5 years ago
Brian Brazil 3932a7149f
Correctly track points no longer used by matrixIterSlice's slice. (#7307) 5 years ago
Callum Styan 5bb7f00d00
change labelset comparison in promql engine to avoid false positive during detection of duplicates (#7058) 5 years ago