Commit Graph

32 Commits (cc7dcf5afea759263ca0fa555f70741b76ce4df6)

Author SHA1 Message Date
Saswata Mukherjee 398f42de5f
Add label-matcher support to Rules API (#10194)
5 months ago
Marco Pracucci edd558884b
Fix Group.Equals() to take in account the new queryOffset too (#14273)
6 months ago
gotjosh 37b408c6cd
Feature: Allow configuration of a rule evaluation delay (#14061)
6 months ago
gotjosh c10186eeea
BUGFIX: Mark the rule's restoration process as completed always (#14048)
7 months ago
gotjosh 379dec9d36
querier.Select cannot return a nil series set.
7 months ago
gotjosh ccfafae36d
Rename QueryforStateSeries to QueryForStateSeries
7 months ago
gotjosh 2de2fee035
Allow the result map for the series set before hand with a hint.
7 months ago
gotjosh 6cfc584308
- Add a changelog entry
7 months ago
gotjosh fa75985c1c
Use the string representation of the labels instead of the hash
7 months ago
gotjosh 276201598c
Fix tests and a bug with the series lookup logic.
7 months ago
gotjosh e6dcbd2e26
bug: nil check against the series set not errors
7 months ago
gotjosh 4daaa59c08
Rule Manager: Only query once per alert rule when restoring alert state
7 months ago
gotjosh 5beb2fe005
Improve the metric description
7 months ago
gotjosh 381a77ac1e
Change variable name to `restoreStartTime` from `now` and introduce a log line to record total time
7 months ago
gotjosh e7219e3d36
Rule Manager: Add `rule_group_last_restore_duration_seconds` to measure restore time per rule group
7 months ago
Łukasz Mierzwa 3bb27c33e9 Use consistent keys for logs
8 months ago
machine424 f477e0539a
Move from golang.org/x/exp/slices into slices now that we only support Go >= 1.21
9 months ago
Bryan Boreham c0e36e6bb3 Standardise exemplar label as "trace_id"
9 months ago
Marco Pracucci 5ee3fbe825
Decouple ruler dependency controller from concurrency controller
10 months ago
Marco Pracucci cbbbd6e70a
Remove superfluous nil check in Group.metrics
10 months ago
Marco Pracucci 046cd7599f
Introduced sequentialRuleEvalController
10 months ago
Marco Pracucci 21a03dc018
Simplify the design to update concurrency controller once the rule evaluation has done
10 months ago
Danny Kopping 7aa3b10c3f
Block until all rules, both sync & async, have completed evaluating
10 months ago
Danny Kopping f922534c4d
Refactoring for performance, and to allow controller to be overridden
10 months ago
Danny Kopping 94cdfa30cd
Refactoring
10 months ago
Danny Kopping 0dc7036db3
Optimising dependencies/dependents funcs to not produce new slices each request
10 months ago
Danny Kopping e7758d187e
Refactor concurrency control
10 months ago
Danny Kopping 940f83a540
Implementation
10 months ago
Charles Korn 9a8dbf06bc
Address PR feedback
1 year ago
Charles Korn 667a1efb04
Add trace ID to log lines emitted during rule evaluation
1 year ago
Charles Korn fc132a4557
Use common logger instance to reduce duplication in `Group.Eval()`
1 year ago
Danny Kopping 498b836654
Refactoring manager.go into separate concerns
1 year ago