Commit Graph

87 Commits (a92ef68dd80a318b4a29722af085bd9dfaaf6acf)

Author SHA1 Message Date
Sylvain Rabot 335a34486e Add external labels to template expansion
6 years ago
Tariq Ibrahim 8fdfa8abea refine error handling in prometheus (#5388)
6 years ago
Simon Pasquier f678e27eb6
*: use latest release of staticcheck (#5057)
6 years ago
AixesHunter fb8479a677 Variable 'labels' collides with imported package name (#5012)
6 years ago
Ben Kochie c6399296dc
Fix spelling/typos (#4921)
6 years ago
Will Hegedus 193ebe7e34 Updates to /targets and /rules (scrape duration, last evaluation time) (#4722)
6 years ago
Ganesh Vernekar 05726c5ea2 Test template expansion while loading groups (#4537)
6 years ago
Chris Marchbanks 63ed9d1b70 Send EndsAt along with alerts (#4550)
6 years ago
Chris Marchbanks 87f1dad16d throttle resends of alerts to 1 minute by default (#4538)
6 years ago
Goutham Veeramachaneni f3b7c22827 rules: add comment about lock taking (#4525)
6 years ago
Chris Marchbanks 11155c7028 Existing alert labels will update based on templates (#4500)
6 years ago
Fabian Reinartz b7e2f407de rules: Fix double-locking of mutex
6 years ago
Benji Visser 8bb6e0dd6e Show rule evaluation errors on rules page (#4457)
6 years ago
Julius Volz 2b8fc062a8
rules: HTML-escape rule YAML marshal errors (#4464)
6 years ago
Ganesh Vernekar f1db699dff Persist alert 'for' state across restarts (#4061)
6 years ago
Max Leonard Inden 71fafad099
api/v1: Coninue work exposing rules and alerts
6 years ago
mg03 31f8ca0dfb
api v1 alerts/rules json endpoint
6 years ago
Julius Volz 9e3171f6e3 rules: Minor naming/comment cleanups (#4328)
6 years ago
ferhat elmas ec8e4d8a7c all: remove unnecessary type conversions (#3992)
7 years ago
Simon Pasquier 81c0ab69e0 Don't reset FiredAt for inactive alerts
7 years ago
Fabian Reinartz 62461379b7 rules: decouple notifier packages
7 years ago
Fabian Reinartz 2d0e3746ac rules: remove dependency on promql.Engine
7 years ago
Goutham Veeramachaneni a880c86375
Fix unexported method on exported interface.
7 years ago
conorbroderick 55aaece116 Add rule evaluation time
7 years ago
Julius Volz 099df0c5f0 Migrate "golang.org/x/net/context" -> "context" (#3333)
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)
8 years ago
Goutham Veeramachaneni 507790a357
Rework logging to use explicitly passed logger
8 years ago
Brian Brazil dcea3e4773 Don't append a 0 when alert is no longer pending/firing
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
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
Fabian Reinartz 5817cb5bde *: migrate from model.* to promql.* types
8 years ago
Fabian Reinartz e68a3cf21f rules: update annotations on each iteration
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
Julius Volz da7206ec29 Fix rule HTML escaping issues
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.
9 years ago
beorn7 b95c096a45 Fix style issues in rules/...
9 years ago
Fabian Reinartz d89c254849 Make copying alerting state safer.
9 years ago
Tobias Schmidt f1f8317fa5 Fix detection of flapping alerts
9 years ago
beorn7 a7408bfb47 Unify duration parsing
9 years ago
Fabian Reinartz a6935024e1 Remove old WITH clause in alert printing
9 years ago
Fabian Reinartz 0cf3c6a9ef Add comments, rename a method
9 years ago
Fabian Reinartz bf6abac8f4 Send resolved notifications
9 years ago