Commit Graph

127 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 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 276201598c
Fix tests and a bug with the series lookup logic.
7 months ago
Matthieu MOREL 6f595c6762
golangci-lint: enable whitespace linter (#13905)
8 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 2764c46531
Added more test cases to TestDependenciesEdgeCases
10 months ago
Marco Pracucci 52bc568d04
Add more test cases to TestDependenciesEdgeCases
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
Arve Knudsen 6daee89e5f
Add context argument to Querier.Select (#12660)
1 year ago
Michael Hoffmann 4d8e380269
promql: allow tests to be imported (#12050)
1 year ago
beorn7 5b53aa1108 style: Replace `else if` cascades with `switch`
2 years ago
beorn7 c3c7d44d84 lint: Adjust to the lint warnings raised by current versions of golint-ci
2 years ago
beorn7 c0879d64cf promql: Separate `Point` into `FPoint` and `HPoint`
2 years ago
Soon-Ping 6cecb87941
Generalized rule group iteration evaluation hook (#11885)
2 years ago
Trevor Whitney c3e0a83725
rules: no longer force CounterResetHint to Gauge
2 years ago
Justin Lei af1d9e01c7
Refactor tsdbutil for tests/native histograms (#11948)
2 years ago
Julien Pivotto ce55e5074d Add 'keep_firing_for' field to alerting rules
2 years ago
Ganesh Vernekar 98a0523e4a
rules: Test native histograms in recording rules
2 years ago
Bryan Boreham 3c7de69059 storage: allow re-use of iterators
2 years ago
Jesus Vazquez e934d0f011 Merge 'main' into sparsehistogram
2 years ago
Bryan Boreham 8297f5cb6b rules: in tests use labels.FromStrings
2 years ago
Cosrider bef6556ca5
delete redundant alias (#11180)
2 years ago
beorn7 c9fd3c235d Merge branch 'main' into sparsehistogram
2 years ago
Jimmie Han a5fea2cdd0
Use atomic field avoid (*AlertingRule).mtx wait when template expanding (#10858)
2 years ago
beorn7 3bc711e333 Merge branch 'main' into sparsehistogram
3 years ago
Matthieu MOREL e2ede285a2
refactor: move from io/ioutil to io and os packages (#10528)
3 years ago
beorn7 7ee1836ef5 Merge branch 'main' into sparsehistogram
3 years ago
Wilbert Guo 83a2e52bc2
Add SyncForState Implementation for Ruler HA (#10070)
3 years ago
Björn Rabenstein 7e42acd3b1
tsdb: Rework iterators (#9877)
3 years ago
beorn7 5d4db805ac Merge branch 'main' into sparsehistogram
3 years ago
beorn7 c954cd9d1d Move packages out of deprecated pkg directory
3 years ago
Mateusz Gozdek 1a6c2283a3 Format Go source files using 'gofumpt -w -s -extra'
3 years ago
Levi Harrison dc2f1993d8
Limit number of alerts or series produced by a rule (#9260)
3 years ago
Levi Harrison b5f6f8fb36 Switched to go-kit/log
4 years ago
Levi Harrison 26274527df
Updated/added tests
4 years ago
Goutham Veeramachaneni 4b5ab80ca6
[rule] Update rule health for append/commit fails (#8619)
4 years ago