Commit Graph

579 Commits (d2caf51874aab00aee17e4fd2efd02c879dfbbc6)

Author SHA1 Message Date
gotjosh 379dec9d36
querier.Select cannot return a nil series set. 2 years ago
gotjosh 05ca082b07
Rename `alerts` to `expectedAlerts` in the test case input 2 years ago
gotjosh f63dbc3db2
Remove duplicated sorted and assignment of expected alerts. 2 years ago
gotjosh 63b09944b8
Use labels.Len() instead of manually counting the labels 2 years ago
gotjosh ccfafae36d
Rename QueryforStateSeries to QueryForStateSeries 2 years ago
gotjosh 151f6e0ed6
Add an assertion on the count of alerts before adding an active alert 2 years ago
George Robinson dde2e5eb73
Improve comments around resending resolved alerts (#13990) 2 years ago
gotjosh cc2207148e
fix typo 2 years ago
gotjosh 2de2fee035
Allow the result map for the series set before hand with a hint. 2 years ago
gotjosh 6cfc584308
- Add a changelog entry 2 years ago
gotjosh fa75985c1c
Use the string representation of the labels instead of the hash 2 years ago
gotjosh 276201598c
Fix tests and a bug with the series lookup logic. 2 years ago
gotjosh e6dcbd2e26
bug: nil check against the series set not errors 2 years ago
gotjosh 4daaa59c08
Rule Manager: Only query once per alert rule when restoring alert state 2 years ago
gotjosh 5beb2fe005
Improve the metric description 2 years ago
gotjosh 381a77ac1e
Change variable name to `restoreStartTime` from `now` and introduce a log line to record total time 2 years ago
gotjosh e7219e3d36
Rule Manager: Add `rule_group_last_restore_duration_seconds` to measure restore time per rule group 2 years ago
Matthieu MOREL 6f595c6762
golangci-lint: enable whitespace linter (#13905) 2 years ago
suntala 44f385fd51 Support expansion of native histogram values in alert templates 2 years ago
Ł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