Commit Graph

30 Commits (311edc5a385c62ad603bdf9df82ede20d7bef3f1)

Author SHA1 Message Date
Fabian Reinartz 62461379b7 rules: decouple notifier packages
7 years ago
Fabian Reinartz bd9f7460eb rules: remove config package dependency
7 years ago
Fabian Reinartz 2d0e3746ac rules: remove dependency on promql.Engine
7 years ago
Fabian Reinartz 83cd270ea4 *: adapt to storage interface changes
7 years ago
Jorge Hernández 6cd0f63eb1 Use testutil in rules subpackage (#3278)
7 years ago
Krasi Georgiev e86d82ad2d Fix regression of alert rules state loss on config reload. (#3382)
7 years ago
Brian Brazil cc5499fcad Only close after checking for err.
7 years ago
Julius Volz f7e8348a88 Re-add contexts to storage.Storage.Querier() (#3230)
7 years ago
Fabian Reinartz d21f149745 *: migrate to go-kit/log
7 years ago
Goutham Veeramachaneni 37e7b69f56
Merge remote-tracking branch 'upstream/dev-2.0' into rulegroups
8 years ago
Goutham Veeramachaneni 507790a357
Rework logging to use explicitly passed logger
8 years ago
Goutham Veeramachaneni 8cca666cf2
Add file name to group.
8 years ago
Brian Brazil dcea3e4773 Don't append a 0 when alert is no longer pending/firing
8 years ago
Brian Brazil cc867dae60 Copy previous series and alert state more intelligently.
8 years ago
Brian Brazil 0451d6d31b Add unittest for rule staleness, and rules generally.
8 years ago
Fabian Reinartz 06c2b76cd4 Merge branch 'master' into uptsdb
8 years ago
Julius Volz ac203ef0ee Add externalURL template function (#2716)
8 years ago
Fabian Reinartz e94b0899ee rules: fix tests, remove model types
8 years ago
Jonathan Lange 2a2da40223 Make rule evaluation publicly available
8 years ago
Julius Volz c187308366 storage: Contextify storage interfaces.
8 years ago
Julius Volz ed5a0f0abe promql: Allow per-query contexts.
8 years ago
Brian Brazil 6fc88d4b4d Remove __name__ from alerts sent to AM.
8 years ago
Brian Brazil 0509b0f2db Expand alert templates at eval time.
8 years ago
Tobias Schmidt f1f8317fa5 Fix detection of flapping alerts
9 years ago
Fabian Reinartz 62075aa037 Reduce noisy no-alertmanager warning
9 years ago
Fabian Reinartz 52e5224f5a Refactor rules/ package
9 years ago
Fabian Reinartz 7c90db22ed Use annotation based alerts in rules/
9 years ago
Fabian Reinartz 306e8468a0 Switch from client_golang/model to common/model
9 years ago
Fabian Reinartz f06cf664e1 rules: cleanup alerting test
10 years ago
Fabian Reinartz 4625485b84 rules: move rules*.go contents to manager*.go
10 years ago