Commit Graph

104 Commits (a14960eae102fb6e83817f7faf15695110ff433b)

Author SHA1 Message Date
beorn7 c954cd9d1d Move packages out of deprecated pkg directory
3 years ago
Yijie Qin 6fce45838a
Add access function for restoration state of alerting rule (#9665)
3 years ago
Mateusz Gozdek 1a6c2283a3 Format Go source files using 'gofumpt -w -s -extra'
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
George Robinson 049b4f4f13
Support customization of template options in TemplateExpander (#9290)
3 years ago
Levi Harrison 8c29046ab2
Remove unneeded state modifications
3 years ago
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