Commit Graph

97 Commits (54dfee02b29180bd5353b1ba843ef600f802366c)

Author SHA1 Message Date
Levi Harrison b5f6f8fb36 Switched to go-kit/log
4 years ago
Levi Harrison 17ea8d006a
Added external URL access
4 years ago
Julien Pivotto 4e5b1722b3
Move away from testutil, refactor imports (#8087)
4 years ago
johncming a69a8b931f
rules: fix bug for unknown alert state. (#7599)
4 years ago
Brian Brazil 5368066b58
Give a bit more slack for alertmanager send failures. (#7228)
5 years ago
Tobias Guggenmos 20b1f596f6 Fix build errors in rest of prometheus
5 years ago
Julien Pivotto 0e912faf4f
rules: Cleanup unused function alert.Duration (#6734)
5 years ago
Julien Pivotto 2d7c8069d0 Check that rules don't contain metrics with the same labelset (#6469)
5 years ago
AllenZMC 5c2c9a03e9 fix word 'consequentally' to 'consequently' (#5827)
5 years ago
Bjoern Rabenstein 38d518c0fe Rework #5009 after comments
6 years ago
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)
7 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