Commit Graph

35 Commits (d1122e0743b3b0a5816bd4f5f7f8255b286f325f)

Author SHA1 Message Date
Matthieu MOREL ddfa9a7cc5
refactor (rules): move from github.com/pkg/errors to 'errors' and 'fmt' (#10855)
2 years ago
Julien Pivotto 0d94cdf107
rules: remove classic UI code (#10730)
3 years ago
Wilbert Guo 83a2e52bc2
Add SyncForState Implementation for Ruler HA (#10070)
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
Julien Pivotto 1282d1b39c
Refactor test assertions (#8110)
4 years ago
Julien Pivotto 4e5b1722b3
Move away from testutil, refactor imports (#8087)
4 years ago
Guangwen Feng 487f1e07ff
Add unit test case for func State in alerting.go (#7476)
4 years ago
Tobias Guggenmos 6c00f2ffcb Comment fixes
5 years ago
Julien Pivotto 9adad8ad30 Remove MaxConcurrent from the PromQL engine opts (#6712)
5 years ago
Julien Pivotto cf42888e4d Fix order of testutil.Equals (#6695)
5 years ago
Julien Pivotto 2d7c8069d0 Check that rules don't contain metrics with the same labelset (#6469)
5 years ago
Brian Brazil e62f30d497
Correctly handle empty labels from alert templates. (#5845)
5 years ago
Bjoern Rabenstein 76102d570c Add test for external labels in label template
6 years ago
Bjoern Rabenstein 38d518c0fe Rework #5009 after comments
6 years ago
Matt Layher 302148fd69 *: apply gofmt -s
6 years ago
Chris Marchbanks 11155c7028 Existing alert labels will update based on templates (#4500)
6 years ago
Ganesh Vernekar f1db699dff Persist alert 'for' state across restarts (#4061)
6 years ago
Jorge Hernández 6cd0f63eb1 Use testutil in rules subpackage (#3278)
7 years ago
Fabian Reinartz 2d0b8e8b94 Merge branch 'master' into dev-2.0
7 years ago
beorn7 c2e9a151ab Make all rule links link to the "Console" tab rather than "Graph"
7 years ago
Fabian Reinartz d21f149745 *: migrate to go-kit/log
7 years ago
Goutham Veeramachaneni e1fc9dc78d Move /rules to new format (#2901)
7 years ago
Goutham Veeramachaneni 507790a357
Rework logging to use explicitly passed logger
8 years ago
Alexey Palazhchenko b0e1ea7c6c Simplify code, fix typos. (#2719)
8 years ago
Julius Volz fe11c5933a Fix mutation of active alert elements by notifier (#2656)
8 years ago
Fabian Reinartz e94b0899ee rules: fix tests, remove model types
8 years ago
beorn7 75bae065fd Revert "Modify tests to adjust to reverting the /graph changes"
8 years ago
beorn7 f1ea5bf232 Modify tests to adjust to reverting the /graph changes
8 years ago
Julius Volz fe7b8b7fd1 Add missing license header to alerting_test.go
8 years ago
Julius Volz da7206ec29 Fix rule HTML escaping issues
8 years ago