Commit Graph

69 Commits (fb06a127c7eec6bfd3eebc55b95c534759498f82)

Author SHA1 Message Date
Bryan Boreham b987afa7ef labels: simplify call to get Labels from Builder
2 years ago
Charles Korn 3db98d7dde
Avoid unnecessary allocations in recording rule evaluation (#11812)
2 years ago
Danny Kopping 72527b5f12
Refactoring for simplicity
2 years ago
Danny Kopping 79300340af
Adding recording/alerting rule origin context
2 years ago
Bryan Boreham cdbe7f462b Update package rules for new labels.Labels type
2 years ago
Cosrider bef6556ca5
delete redundant alias (#11180)
2 years ago
Bryan Boreham 8b863c42dd
Optimise relabeling by re-using memory (#11147)
2 years ago
Jimmie Han a5fea2cdd0
Use atomic field avoid (*AlertingRule).mtx wait when template expanding (#10858)
2 years ago
Julien Pivotto 0d94cdf107
rules: remove classic UI code (#10730)
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 8c29046ab2
Remove unneeded state modifications
3 years ago
Goutham Veeramachaneni 4b5ab80ca6
[rule] Update rule health for append/commit fails (#8619)
4 years ago
Tobias Guggenmos 20b1f596f6 Fix build errors in rest of prometheus
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
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
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
Max Leonard Inden 71fafad099
api/v1: Coninue work exposing rules and alerts
6 years ago
Julius Volz 9e3171f6e3 rules: Minor naming/comment cleanups (#4328)
6 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
Goutham Veeramachaneni e1fc9dc78d Move /rules to new format (#2901)
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
Fabian Reinartz 5817cb5bde *: migrate from model.* to promql.* 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
Julius Volz da7206ec29 Fix rule HTML escaping issues
8 years ago
Brian Brazil 0509b0f2db Expand alert templates at eval time.
9 years ago
Fabian Reinartz 26eb3ac2f8 Don't skip recording rule errors
9 years ago
Fabian Reinartz 52e5224f5a Refactor rules/ package
9 years ago
Brian Brazil 3bcdb2bbba rules: Allow for setting labels on LHS on scalars
9 years ago
Fabian Reinartz d6b8da8d43 Switch promql types to common/model
9 years ago
Fabian Reinartz 306e8468a0 Switch from client_golang/model to common/model
9 years ago
Brian Brazil e6a67476c2 rules: Allow recorded rules expressions to be scalars.
9 years ago
Fabian Reinartz 5e13880201 General cleanup of rules.
10 years ago
Fabian Reinartz 75c920c95e Remove DotGraph method from Rule interface
10 years ago
Fabian Reinartz 83d07516e8 Remove EvalRaw methods from Rule interface
10 years ago
Fabian Reinartz 0de6edbdfc Move pkg/ to util/
10 years ago
Fabian Reinartz dbc0d30e3e Move string functionality to pkg/strutil
10 years ago