Commit Graph

76 Commits (c2005dbf63cfc7afa8cb6a6c1c59b3c665b376f0)

Author SHA1 Message Date
TJ Hoplock 6ebfbd2d54 chore!: adopt log/slog, remove go-kit/log
2 months ago
Arve Knudsen 99204f23ee Merge remote-tracking branch 'prometheus/main' into arve/close-engine
3 months ago
riskrole 406bf775aa chore: fix some comments
3 months ago
Arve Knudsen fbc9eddfaf Refactor engine creation in tests
4 months ago
Arve Knudsen e57aac8084 Merge remote-tracking branch 'prometheus/main' into arve/close-engine
6 months ago
gotjosh 37b408c6cd
Feature: Allow configuration of a rule evaluation delay (#14061)
6 months ago
Arve Knudsen 0cc99e677a promql.Engine: Add Close method
6 months ago
Bryan Boreham 8fd96241ab test: add promqltest package references
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
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 276201598c
Fix tests and a bug with the series lookup logic.
7 months ago
suntala 44f385fd51 Support expansion of native histogram values in alert templates
8 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
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 c0879d64cf promql: Separate `Point` into `FPoint` and `HPoint`
2 years ago
Bryan Boreham 3f7ba22bde rules: two places need to call EmptyLabels
2 years ago
Danny Kopping 98c70e1817
Correcting NewAlertingRule args
2 years ago
Danny Kopping df078e0a84
Merge branch 'main' into dannykopping/rule-eval
2 years ago
Julien Pivotto c0724f4e62 New test
2 years ago
Julien Pivotto 5ad74e6e71 Add tests
2 years ago
Julien Pivotto ce55e5074d Add 'keep_firing_for' field to alerting rules
2 years ago
Danny Kopping 72527b5f12
Refactoring for simplicity
2 years ago
Danny Kopping 79300340af
Adding recording/alerting rule origin context
2 years ago
Ganesh Vernekar 648be89822
Merge remote-tracking branch 'upstream/main' into fix-conflict
2 years ago
Ganesh Vernekar 46b26c4f09
Fix notifier relabel changing the labels of active alerts (#11427)
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
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 28f028e938 Merge branch 'main' into sparsehistogram
2 years ago
Matthieu MOREL ddfa9a7cc5
refactor (rules): move from github.com/pkg/errors to 'errors' and 'fmt' (#10855)
2 years ago
beorn7 40ad5e284a Merge branch 'main' into beorn7/sparsehistogram
2 years ago
Julien Pivotto 0d94cdf107
rules: remove classic UI code (#10730)
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
beorn7 5d4db805ac Merge branch 'main' into sparsehistogram
3 years ago
beorn7 c954cd9d1d Move packages out of deprecated pkg directory
3 years ago
Levi Harrison d81bbe154d
Rule alerts/series limit updates (#9541)
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
Julien Pivotto 6c56a1faaa
Testify: move to require (#8122)
4 years ago