Commit Graph

582 Commits (179163a4c6869d6136049a9ed12a03c58e0b7caa)

Author SHA1 Message Date
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
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
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
Ł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
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
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
Filip Petkovski 583f3e587c
Optimize histogram iterators (#13340)
10 months ago
Filip Petkovski 10a82f87fd
Enable reusing memory when converting between histogram types
12 months ago
Matthieu MOREL 9c4782f1cc
golangci-lint: enable testifylint linter (#13254)
12 months ago
Björn Rabenstein a43669e611
Merge pull request #12928 from alexandear/ci-enable-godot
1 year ago
Oleksandr Redko fa90ca46e5 ci(lint): enable godot; append dot at the end of comments
1 year ago
Charles Korn 9a8dbf06bc
Address PR feedback
1 year ago