Commit Graph

228 Commits (00a7faa2e3cbef625faff9236cdabd877243f35b)

Author SHA1 Message Date
Julius Volz d3b6e61487 Put binop fill modifiers behind a feature flag 5 months ago
Julius Volz af3277f832 PromQL: Add `fill*()` binop modifiers to provide default values for missing series 5 months ago
Ben Kochie e14795bbf4
Remove copyright date from headers (#17785) 6 months ago
aviralgarg05 119e75d78b promqltest: Properly distinguish explicit counter_reset_hint specification 6 months ago
ADITYA TIWARI 3a82dcc6c5 promql/parser: simplify BinaryExpr label formatting 6 months ago
Aditya Tiwari 301b9eff44 Update comments to clarify label formatting method 6 months ago
ADITYA TIWARI 2e4f5e8cfc promql/parser: consolidate label quoting logic 6 months ago
ADITYA TIWARI 5b299ef99e fix/promql/parser: Fix utf-8 label quoting in format_query endpoint 6 months ago
Julien Pivotto d0b122a711 PromQL: duration expression: add range() 7 months ago
Julien Pivotto a5671a002f API: Add a /api/v1/features endpoint 7 months ago
dongjiang 3239723098
Update golangci-lint and add modernize check (#17640) 7 months ago
Julius Volz 39e11f50b2 Fix serialization for empty `ignoring()` in combination with `group_x()` 7 months ago
Ben Kochie 204249fcb5
Update golangci-lint (#17478) 8 months ago
Ben Kochie 48956f60d7
Update modernize (#17471) 8 months ago
Linas Medžiūnas b2e7938e25
[BUGFIX] PromQL: avoid panic parsing malformed info call (#17379) 8 months ago
Julius Volz 88b009f8a0
Disable extended range selector modifiers again after test run 8 months ago
Julius Volz a1000efe55
Fix formatting of range vector selectors with smoothed/anchored modifier 8 months ago
Julien Pivotto 0fa1e00dad
promql: allow 'anchored' and 'smoothed' as metric and label names 8 months ago
Julien Pivotto 8d4876f944 promql/parser: Add string representation for AT token 8 months ago
Linas Medžiūnas 44df626620
promql (histograms): reconcile mismatched NHCB bounds (#17278) 8 months ago
Julius Volz 9d7d544be1 Disable extended range selector modifiers again after test run 8 months ago
Julius Volz b7c3a2194f Fix formatting of range vector selectors with smoothed/anchored modifier 8 months ago
Julien Pivotto 99c926b810 promql: allow 'anchored' and 'smoothed' as metric and label names 8 months ago
Bryan Boreham 1c58399160
PromQL: Speed up parsing of variadic functions (#17316) 9 months ago
beorn7 51e0982c91 promql(histograms): Fix counter reset hint handling when aggregating 9 months ago
Julien 4199c2f45a
Add anchored and smoothed to vector selectors. (#16457) 9 months ago
Craig Ringer 1ce84d8e2f feat(promql): add first_over_time and ts_of_first_over_time 10 months ago
beorn7 747c5ee2b1 Apply analyzer "modernize" to the whole codebase 10 months ago
Bryan Boreham 153cdb2b0b [PERF] PromQL: Replace Fprintf %f with AppendFloat 10 months ago
Bryan Boreham b8d2d505f5 [PERF] PromQL: Replace some Sprintf with bytes.Buffer 10 months ago
Bryan Boreham 49d9261693 [PERF] PromQL: Replace some simple Sprintf with string concat 10 months ago
Bryan Boreham e44ee2f182 [TESTS] PromQL: Add BenchmarkExprString 10 months ago
Bryan Boreham 66fbea97bb [TESTS] Check expr with function call in TestExprString 10 months ago
Julius Hinze 77b5c3f217
Histograms: set annotation when adding or subtracting histograms that have `not_reset` and `reset` hints. 10 months ago
Arve Knudsen 0a40df33fb
Make metric/label name validation scheme explicit (#16928) 10 months ago
Lukasz Mierzwa 7e22d2e5c0 Refactor TestParseExpressions to be more explicit about errors 10 months ago
Lukasz Mierzwa 7b308dc7fe Add a note about PositionRange values 11 months ago
George Krajcsovits 2aaeefe8e1
fix(parser): wrong end position aggregate expression (#17031) 11 months ago
Julius Hinze 5855d973b0
model: set native histogram GaugeType hint when subtracting or multiplying/dividing with negative factors 11 months ago
George Krajcsovits 457a2381f9
fix(parser): revert pr 16041 and 16754 (#16996) 11 months ago
Matthieu MOREL 0484a6d547 chore: enable-all rule from govet 11 months ago
Matthieu MOREL cef219c31c chore: enable unused-receiver rule from revive 11 months ago
Bryan Boreham 75b72c2e42 Apply review feedback 12 months ago
Bryan Boreham e4789cf89f [PERF] PromQL: Reduce allocations when walking syntax tree 12 months ago
Bryan Boreham ceac4d2418 [PERF] PromQL: Walk syntax tree using iterator 12 months ago
Julien Pivotto 984c8de0da PromQL: Fix printing +min() 12 months ago
Julien Pivotto 3af0bdee68 PromQL: min/max/step: add more tests 12 months ago
Julien Pivotto ee7d5158a7 Add step(), min(a,b) and max(a,b) in promql duration expressions 12 months ago
Simon Pasquier 71217a6e43
fix: prevent invalid array access in aggregate expression 1 year ago
Julien Pivotto 6d56e77e0e promql: Fix unary operator precedence in duration expressions 1 year ago