Commit Graph

558 Commits (64dfd8a158fe8de72d8019c54ea4242956e4d652)

Author SHA1 Message Date
Łukasz Mierzwa 3bb27c33e9 Use consistent keys for logs 2 years ago
Charles Korn 4e77e8e5ef
Allow using alternative PromQL engines for rule evaluation 2 years ago
machine424 f477e0539a
Move from golang.org/x/exp/slices into slices now that we only support Go >= 1.21 2 years ago
Bryan Boreham 3716326f3f rules: call NewScratchBuilder 2 years ago
Bryan Boreham c0e36e6bb3 Standardise exemplar label as "trace_id" 2 years ago
Bryan Boreham 17f48f2b3b Tests: use replacement DeepEquals in more places 2 years ago
Bryan Boreham 39af788dbd Tests: use replacement DeepEquals using go-cmp 2 years ago
Marco Pracucci 5ee3fbe825
Decouple ruler dependency controller from concurrency controller 2 years ago
Marco Pracucci cbbbd6e70a
Remove superfluous nil check in Group.metrics 2 years ago
Marco Pracucci 046cd7599f
Introduced sequentialRuleEvalController 2 years ago
Marco Pracucci 23f89c18b2
Improved RuleConcurrencyController interface doc 2 years ago
Marco Pracucci 2764c46531
Added more test cases to TestDependenciesEdgeCases 2 years ago
Marco Pracucci 52bc568d04
Add more test cases to TestDependenciesEdgeCases 2 years ago
Marco Pracucci 21a03dc018
Simplify the design to update concurrency controller once the rule evaluation has done 2 years ago
Danny Kopping 7aa3b10c3f
Block until all rules, both sync & async, have completed evaluating 2 years ago
Danny Kopping f922534c4d
Refactoring for performance, and to allow controller to be overridden 2 years ago
Danny Kopping 94cdfa30cd
Refactoring 2 years ago
Danny Kopping 0dc7036db3
Optimising dependencies/dependents funcs to not produce new slices each request 2 years ago
Danny Kopping e7758d187e
Refactor concurrency control 2 years ago
Danny Kopping 940f83a540
Implementation 2 years ago
Filip Petkovski 583f3e587c
Optimize histogram iterators (#13340) 2 years ago
Filip Petkovski 10a82f87fd
Enable reusing memory when converting between histogram types 2 years ago
Matthieu MOREL 9c4782f1cc
golangci-lint: enable testifylint linter (#13254) 2 years ago
Oleksandr Redko fa90ca46e5 ci(lint): enable godot; append dot at the end of comments 2 years ago
Charles Korn 9a8dbf06bc
Address PR feedback 2 years ago
Charles Korn 667a1efb04
Add trace ID to log lines emitted during rule evaluation 2 years ago
Charles Korn fc132a4557
Use common logger instance to reduce duplication in `Group.Eval()` 2 years ago
Danny Kopping 498b836654
Refactoring manager.go into separate concerns 2 years ago
Goutham Veeramachaneni 86729d4d7b
Update exp package (#12650) 2 years ago
Arve Knudsen 6daee89e5f
Add context argument to Querier.Select (#12660) 2 years ago
Michael Hoffmann 4d8e380269
promql: allow tests to be imported (#12050) 2 years ago
Bryan Boreham 5255bf06ad Replace sort.Slice with faster slices.SortFunc 3 years ago
beorn7 5b53aa1108 style: Replace `else if` cascades with `switch` 3 years ago
beorn7 c3c7d44d84 lint: Adjust to the lint warnings raised by current versions of golint-ci 3 years ago
Ben Ye fd3630b9a3 add ctx to QueryEngine interface 3 years ago
Matthieu MOREL fb3eb21230 enable gocritic, unconvert and unused linters 3 years ago
beorn7 c0879d64cf promql: Separate `Point` into `FPoint` and `HPoint` 3 years ago
Soon-Ping 6cecb87941
Generalized rule group iteration evaluation hook (#11885) 3 years ago
Bryan Boreham b987afa7ef labels: simplify call to get Labels from Builder 3 years ago
Trevor Whitney c3e0a83725
rules: no longer force CounterResetHint to Gauge 3 years ago
Charles Korn 3db98d7dde
Avoid unnecessary allocations in recording rule evaluation (#11812) 3 years ago
Bryan Boreham 3f7ba22bde rules: two places need to call EmptyLabels 3 years ago
Justin Lei af1d9e01c7
Refactor tsdbutil for tests/native histograms (#11948) 3 years ago
Danny Kopping 98c70e1817
Correcting NewAlertingRule args 3 years ago
Julien Pivotto e811d14963 Add comments 3 years ago
Danny Kopping c4ca791f18
Appeasing the linter 3 years ago
Danny Kopping 6486d28c7a
Panic if rule type was not expected 3 years ago
Julien Pivotto c0724f4e62 New test 3 years ago
Julien Pivotto 2c408289f8 Add stabilizing to UI 3 years ago
Julien Pivotto 5ad74e6e71 Add tests 3 years ago