Commit Graph

622 Commits (5e002dec688f16277159df2f132a39de4fa0d99e)

Author SHA1 Message Date
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
Tobias Guggenmos ff0ea1c1ac Fix more identifiers
5 years ago
Tobias Guggenmos 6b1b323558 Export sequenceValue
5 years ago
Tobias Guggenmos 228967a507 Fix usages of more things that have moved the package
5 years ago
Tobias Guggenmos 4a4817a444 Fix usages of parser.Statement
5 years ago
Tobias Guggenmos 2f1113479f Fix usages of ValueType
5 years ago
Tobias Guggenmos 65f5b9827d Rename package
5 years ago
Tobias Guggenmos 98a9b7c90c Remove engine specific types
5 years ago
Tobias Guggenmos fab2373752 Add everything the parser needs to build
5 years ago
Tobias Guggenmos e7c2716f55 Move files
5 years ago
Zhou Hao e628fd7735
fix comments spelling (#6829)
5 years ago
Björn Rabenstein af04cb22c8
Merge pull request #6821 from prometheus/release-2.16
5 years ago
Julien Pivotto ff0003e072
Make lookbackDelta a option of QueryEngine (#6746)
5 years ago
Julien Pivotto cbd0eec9fc Avoid /1000
5 years ago
Julien Pivotto 881dde505a promql: fix promql query log step unit
5 years ago
Julien Pivotto 9adad8ad30 Remove MaxConcurrent from the PromQL engine opts (#6712)
5 years ago
Brian Brazil 61262159c4 Simplify benchmark given the new API
5 years ago
Brian Brazil 38d32e0686 Don't sort postings if we only have one block.
5 years ago
Julien Pivotto d992c36b3a promql: make active query tracker context-aware (#6701)
5 years ago
Julien Pivotto cf42888e4d Fix order of testutil.Equals (#6695)
5 years ago
Julien Pivotto 5f27ac3583 Refactor query log fields (#6694)
5 years ago
Julien Pivotto 3fbeee07fa Fix flaky windows test (#6677)
5 years ago
Julien Pivotto 2b2eb79e8b Add windows tests for query logger (#6653)
5 years ago
Tobias Guggenmos 2aacd807b3 PromQL: Various small improvements in the parser (#6652)
5 years ago
Tobias Guggenmos f5eed7ae0a PromQL: Fix panic in parser (#6650)
5 years ago
Tobias Guggenmos 2ca25d1c96 PromQL: Don't panic on syntax errors (#6643)
5 years ago
Tobias Guggenmos d642570924 PromQL: Use PositionRange in parser errors (#6634)
5 years ago
Tobias Guggenmos 3a204be6b7 PromQL: Fix string and parentheses handling in engine (#6612)
5 years ago
Tobias Guggenmos 0c8e9ef09e PromQL: Add position metadata to the AST (#6615)
5 years ago
Tobias Guggenmos 64194f7d45 PromQL: AST: Make VectorSelector Children of MatrixSelector (#6590)
5 years ago
Julien Pivotto 3885562587 Query Logging styling (#6594)
5 years ago
Tobias Guggenmos 6534ce843f PromQL: Use a sync.Pool for the generated parser structure (#6591)
5 years ago
Guangwen Feng 835c27a76b Fix typo in comment for func Lex (#6588)
5 years ago
Tobias Guggenmos b18b6cb332 PromQL: Avoid lexer item copies and allocations (#6584)
5 years ago
Tobias Guggenmos 4aef43a9f5 Cleanup: Remove parser switching logic (#6583)
5 years ago
Tobias Guggenmos 2064abab40 Cleanup: Remove unused variable (#6581)
5 years ago
Tobias Guggenmos 7c7746257c Cleanup: remove function that does not do anything (#6580)
5 years ago
Tobias Guggenmos d8bc24349c PromQL: Fix unary operator precedence (#6579)
5 years ago
Julien Pivotto 9d9bc524e5 Add query log (#6520)
5 years ago
Tobias Guggenmos 3d6cf1c289 PromQL: Make parser completely generated (#6548)
5 years ago
Julien Pivotto 577e738986 Cleanup PromQL functions (#6551)
5 years ago
Julien Pivotto e0afec906f add absent_over_time (#6490)
5 years ago
Josh Soref 91d76c8023 Spelling (#6517)
5 years ago
Tobias Guggenmos 213a8fe89a PromQL: Parse Series descriptions using the generated parser (#6494)
5 years ago
Julien Pivotto f363a71ef7 promql: function: fix typo (#6501)
5 years ago
Julien Pivotto 4b3bab890d Fix absent output where two label matchers are identical (#6493)
5 years ago
Tobias Guggenmos a48acbcb23 PromQL: Fix parser benchmark (#6495)
5 years ago
Tobias Guggenmos 1e0cd28bf6 PromQL: Support trailing commas in grouping opts (#6480)
5 years ago
Julien Pivotto f315c69129 promql: fix typo in value.go (#6491)
5 years ago
Tobias Guggenmos db1258f2a5 PromQL: Refactor error message generation (#6481)
5 years ago
Tobias Guggenmos 9e34f08ac3 PromQL: Parse grouping opts with the generated parser (#6472)
5 years ago
Tobias Guggenmos 53615412b4 PromQL: Parse Metrics using generated parser (#6466)
5 years ago
Tobias Guggenmos b38b25e9e1 Add Benchmark for the PromQL Parser (#6355)
5 years ago
Tobias Guggenmos 8cb4a48e2e PromQL: Parse label sets using the generated parser (#6432)
5 years ago
Tobias Guggenmos 5c503d85f7 PromQL: export lexer (#6435)
5 years ago
Tobias Guggenmos 35c1f31721 PromQL: Use more standart format for error positions (#6433)
5 years ago
Tobias Guggenmos cd39ebe7c6 PromQL: export function list (#6434)
5 years ago
Mark Nevill b0a5c51b95 Return unused point slice to pool in Call and VectorSelector eval. (#6427)
5 years ago
Tobias Guggenmos 3bb715031f PromQL: Use generated parser to parse label matchers (#6410)
5 years ago
Garrett 5a9c4acfbf Pushdown aggregator group by through read hint (#6401)
5 years ago
Tobias Guggenmos 408574a6e1 promql: Allow injecting fake tokens into the generated parser (#6381)
5 years ago
Tobias Guggenmos bbd92b85da promql: Use capitalized names for item types (#6371)
5 years ago
Tobias Guggenmos c229ed17e2 promql: Implement yyLexer interface (#6370)
5 years ago
Bartosz Jakubski 80ba03c67d fix subquery with offset conversion to string (#6373)
5 years ago
Tobias Guggenmos c63259b83c promql: Clean up parser struct (#6360)
5 years ago
Tobias Guggenmos d0cff29749 PromQL: Reduce Code duplication in AST traversion (#6362)
5 years ago
Tobias Guggenmos ac3932ea35 Improve PromQL parser performance by making it non-concurrent (#6356)
5 years ago
Harkishen Singh 37d666949c fixes space issue in duration range promql (#6295)
5 years ago
Tobias Guggenmos fe80cf4734 promql: Eliminate dead code (#6215)
5 years ago
Krasi Georgiev 5b8ff9b8a4
Merge the 2.13 release branch (#6169)
5 years ago
Alex Dzyoba e3882629ba promql: Move tests to testutil (#6103)
5 years ago
AllenZMC 1e62435960 fix wrong spells in live_reader.go (#5899)
5 years ago
yuxiaobo96 5f6a56a0bb Third correction (#6012)
5 years ago
johncming ac3cedb108 promql: Modify the order of return values. (#5940)
5 years ago
johncming d1b3a6e013 promql: Optimize the writing (#5941)
5 years ago
Krzysztof Kowalczyk 6e53980bbf fix fuzz targets (#5851)
5 years ago
AllenZMC 3638e4ab18 fix mis-spelling in fuzz.go (#5848)
5 years ago
Chris Marchbanks 529ccff07b
Remove all usages of stretchr/testify
5 years ago
Chris Marchbanks 0685eb5395
Refactor testutil.NewStorage into a new package
5 years ago
AllenZMC 04cb37fea8 fix wrong spells in query_logger.go (#5843)
5 years ago
ethan 8928094b56 func name ref correct "qauntile" -> "quantile" (#5834)
5 years ago
AllenZMC 8d6ec5acdc fix word 'seriess' to 'series' (#5828)
5 years ago
AllenZMC ead0933dd9 fix word 'substracting' to 'subtracting' (#5822)
5 years ago
Advait Bhatwadekar 5d401f1e1b Added query logging for prometheus. Issue #1315 (#5794)
5 years ago
Ganesh Vernekar 588eb20018
Efficient iteration and search in HashForLabels and HashWithoutLabels (#5707)
5 years ago
Thomas Jackson 91d7175eaa Add storage.Warnings to LabelValues and LabelNames (#5673)
6 years ago
beorn7 dd81912554 Add objectives to Summaries
6 years ago
Thomas Jackson a000cec011 Re-use label builder in promql aggregation (#5641)
6 years ago
Brian Brazil 36dbf042e3
Correctly handle {__name__="a"} (#5552)
6 years ago
Simon Pasquier 45506841e6
*: enable all default linters (#5504)
6 years ago
Björn Rabenstein 0be9388f8d
Merge pull request #5463 from prometheus/beorn7/templating
6 years ago
Goutham Veeramachaneni 3cc5f9d880 Make sure subquery range is taken into account for selection (#5467)
6 years ago
Bjoern Rabenstein a92ef68dd8 Fix staticcheck errors
6 years ago
Julius Volz bc1c7f1809 Fix scalar-vector comparisons (#5454)
6 years ago
Bryan Boreham 69dd090880 Check for cancellation on every step of a range evaluation
6 years ago
Bryan Boreham e4a37d0986 Replace select with simpler error check
6 years ago
Tariq Ibrahim 8fdfa8abea refine error handling in prometheus (#5388)
6 years ago
Julius Volz 8155cc4992
Expose lexer item types (#5358)
6 years ago
Mario Trangoni 5354ffff99 Fix some spelling issues (#5361)
6 years ago
Daisy T 683fbc59ec exponentation operator to drop metric name in result of op operation (#5329)
6 years ago
Brian Brazil 858c363e94 Fix panic when aggregator param is not a literal.
6 years ago