Commit Graph

622 Commits (5e002dec688f16277159df2f132a39de4fa0d99e)

Author SHA1 Message Date
Marco Pracucci b92c03023d
Optimized vector selector
4 years ago
Julien Pivotto ad5ed416ba
Merge pull request #8487 from pschou/dev_neg_offset
4 years ago
Julien Pivotto 5742a18590 Fix subqueries with default resolution in promql unit tests
4 years ago
schou 3bafe17870 add negative offset to printer
4 years ago
pschou f80b52be69
Merge branch 'main' into dev_neg_offset
4 years ago
schou efbf3af05d reduce addOffst to 2 parameters
4 years ago
schou 75d932a172 var init for bool
4 years ago
schou 22bfc11738 aggregate booleans for ease of reading
4 years ago
schou 22cd48868a adding feature flag, promql-negative-offset
4 years ago
schou 851acf86ee rebuild generated_parser.y.go
4 years ago
schou 0c577c547b add negative offset ability
4 years ago
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
Annanay 9bba8a6eae Merge branch 'master' into appender-context
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
Ben Ye 1e4e37144d
Fixed wrongly handled not ready TSDB on web and API. (#7182)
5 years ago
Vasily Sliouniaev 0393b188c9
Add Jaeger (#7148)
5 years ago
Julien Pivotto 1f6f8e60ee promql/parser: Cleanup generatedParserResult accross reuse
5 years ago
Marek Slabicki 8224ddec23
Capitalizing first letter of all log lines (#7043)
5 years ago
Brian Brazil 7646cbca32
Use .UTC everywhere we use time.Unix (#7066)
5 years ago
Ben Kochie 269e7c8091
Fix golint issues.
5 years ago
johncming bdc45c2b9e
remove unused code. (#7019)
5 years ago
Björn Rabenstein 1da83305be
Merge pull request #7009 from prometheus/release-2.17
5 years ago
Tobias Guggenmos 012161d90d
PromQL: Fix lexer error handling (#6958)
5 years ago
Björn Rabenstein a28fa010ee
TSDB: Extract parts out of populateSeries (#6983)
5 years ago
Bartlomiej Plotka fe802f29c9 storage: Removed SelectSorted method; Simplified interface; Added requirement for remote read to sort response.
5 years ago
Björn Rabenstein bc703b6456
Use `struct{}` as underlying type for context keys (#6965)
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
李国忠 2bf4952049
remove Unused parameter 'sf' in calcTrendValue function (#6900)
5 years ago
LongKB 82f7ed208b
Remove some duplicated words (#6882)
5 years ago
Tobias Guggenmos 3d74fcfa6a Bartek's suggestions
5 years ago
Tobias Guggenmos f9db320e5a Look up function call in all cases
5 years ago
Tobias Guggenmos 9ebf6bd1e6 Remove superfluous blank lines
5 years ago
Tobias Guggenmos 7143d64fc1
Julien's suggestion
5 years ago
Tobias Guggenmos 4124828c00 Add test to check that promql.FunctionCalls and parser.Functions contain the same functions
5 years ago
Tobias Guggenmos 4835bbf376
Merge branch 'master' into split_parser
5 years ago
Bartlomiej Plotka 849faa407b Minor fixes.
5 years ago
Bartlomiej Plotka 2cf637fbf5 Addressed comments.
5 years ago
Bartlomiej Plotka 34426766d8 Unify Iterator interfaces. All point to storage now.
5 years ago
Tobias Guggenmos 2d77611f73 Unbump year number
5 years ago
Tobias Guggenmos bf8542a99e Add missing imports to fuzz tests
5 years ago
Tobias Guggenmos ec3df53f78 Add nolint comment
5 years ago
Tobias Guggenmos b93845d6bf Remove unused function
5 years ago
Tobias Guggenmos 43d206f0a1 Add missing file
5 years ago
Tobias Guggenmos 6c00f2ffcb Comment fixes
5 years ago
Tobias Guggenmos 273ea9093a Fix promql tests
5 years ago
Tobias Guggenmos 1360f9ff12 Fix all build errors in promql package
5 years ago
Tobias Guggenmos 2164e366ea Fix more identifiers
5 years ago
Tobias Guggenmos 5caf7ed6db Fix more identifiers
5 years ago
Tobias Guggenmos 9a1366775e Store function implementations independently of their signatures
5 years ago