Commit Graph

594 Commits (0793a26d96b56ea3110994d763da8c7f0678062a)

Author SHA1 Message Date
Jeanette Tan 14f8dded39 Merge branch 'main' into nhcb
6 months ago
Jeanette Tan 9adc1699c3 fix according to code review
6 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
Julien d1eff95faf
Merge pull request #14100 from bboreham/windows-flake
7 months ago
Oleksandr Redko f10c3454e9 Enable perfsprint linter and fix up code
7 months ago
Bryan Boreham 10eb23bd6b [TEST] Rules: Sleep 15ms to fit Windows behaviour better
7 months ago
Jeanette Tan f028496133 Merge branch 'main' into nhcb
7 months ago
Bryan Boreham 3fd24d1cd7
Merge pull request #13999 from bboreham/extract-promqltest
7 months ago
Bryan Boreham 8fd96241ab test: add promqltest package references
7 months ago
Jeanette Tan 796b1bbfde Merge branch 'main' into nhcb
7 months ago
gotjosh c10186eeea
BUGFIX: Mark the rule's restoration process as completed always (#14048)
7 months ago
gotjosh 1dd0bff4f1
Merge pull request #13980 from prometheus/gotjosh/restore-only-with-rule-query
7 months ago
gotjosh 379dec9d36
querier.Select cannot return a nil series set.
7 months ago
gotjosh 05ca082b07
Rename `alerts` to `expectedAlerts` in the test case input
7 months ago
gotjosh f63dbc3db2
Remove duplicated sorted and assignment of expected alerts.
7 months ago
gotjosh 63b09944b8
Use labels.Len() instead of manually counting the labels
7 months ago
gotjosh ccfafae36d
Rename QueryforStateSeries to QueryForStateSeries
7 months ago
gotjosh 151f6e0ed6
Add an assertion on the count of alerts before adding an active alert
7 months ago
George Robinson dde2e5eb73
Improve comments around resending resolved alerts (#13990)
7 months ago
gotjosh cc2207148e
fix typo
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
György Krajcsovits bcafa5f1f9 Merge remote-tracking branch 'upstream/main' into update-nhcb
7 months ago
gotjosh e7219e3d36
Rule Manager: Add `rule_group_last_restore_duration_seconds` to measure restore time per rule group
7 months ago
Björn Rabenstein 4ec5c25393
Merge pull request #13731 from suntala/suntala/native-histogram-template
8 months ago
Matthieu MOREL 6f595c6762
golangci-lint: enable whitespace linter (#13905)
8 months ago
suntala 44f385fd51 Support expansion of native histogram values in alert templates
8 months ago
György Krajcsovits a3d1a46eda Merge branch 'main' into nhcb
8 months ago
Łukasz Mierzwa 3bb27c33e9 Use consistent keys for logs
8 months ago
Charles Korn 4e77e8e5ef
Allow using alternative PromQL engines for rule evaluation
9 months ago
machine424 f477e0539a
Move from golang.org/x/exp/slices into slices now that we only support Go >= 1.21
9 months ago
György Krajcsovits 5d0a0a7542 Add custom buckets to native histogram model (#13592)
9 months ago
Bryan Boreham 3716326f3f rules: call NewScratchBuilder
9 months ago
Bryan Boreham c0e36e6bb3 Standardise exemplar label as "trace_id"
10 months ago
Bryan Boreham 17f48f2b3b Tests: use replacement DeepEquals in more places
10 months ago
Bryan Boreham 39af788dbd Tests: use replacement DeepEquals using go-cmp
10 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 23f89c18b2
Improved RuleConcurrencyController interface doc
10 months ago
Marco Pracucci 2764c46531
Added more test cases to TestDependenciesEdgeCases
10 months ago
Marco Pracucci 52bc568d04
Add more test cases to TestDependenciesEdgeCases
10 months ago
Marco Pracucci 21a03dc018
Simplify the design to update concurrency controller once the rule evaluation has done
10 months ago