Commit Graph

333 Commits (f2c5913416db03da1ec62b5a3d9b07b005060a41)

Author SHA1 Message Date
Simon Pasquier 81c0ab69e0 Don't reset FiredAt for inactive alerts
7 years ago
Brian Brazil 30b4439bbd Remove rule_type label from rule metrics.
7 years ago
Brian Brazil b97f4cf48c Add metrics for rule group interval and last duration.
7 years ago
Brian Brazil 0a42a9fc8f Copy over rule group duration on reload.
7 years ago
Brian Brazil aa370fa568 Clarify metric names around rule groups.
7 years ago
Fabian Reinartz 62461379b7 rules: decouple notifier packages
7 years ago
Fabian Reinartz 4d964a0a0d rules: make glob expansion a concern of main
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 2ec5965b75
Merge pull request #3508 from prometheus/uptsdb
7 years ago
Fabian Reinartz 83cd270ea4 *: adapt to storage interface changes
7 years ago
Goutham Veeramachaneni a880c86375
Fix unexported method on exported interface.
7 years ago
conorbroderick 55aaece116 Add rule evaluation time
7 years ago
Goutham Veeramachaneni e1117715fe
rules: remove skipped iterations cuz no throttling
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
Julius Volz 099df0c5f0 Migrate "golang.org/x/net/context" -> "context" (#3333)
7 years ago
Brian Brazil cc5499fcad Only close after checking for err.
7 years ago
Brian Brazil ee88f0d222 Ensure all values are used or _
7 years ago
Fabian Reinartz 2d0b8e8b94 Merge branch 'master' into dev-2.0
7 years ago
Julius Volz f7e8348a88 Re-add contexts to storage.Storage.Querier() (#3230)
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 37e7b69f56
Merge remote-tracking branch 'upstream/dev-2.0' into rulegroups
8 years ago
Goutham Veeramachaneni c472316fb3
Check done before every rule evaluation.
8 years ago
Goutham Veeramachaneni 6b70a4d850
Incorporate PR feedback
8 years ago
Goutham Veeramachaneni 507790a357
Rework logging to use explicitly passed logger
8 years ago
Goutham Veeramachaneni dc69645e92
Move back to go-yaml
8 years ago
Goutham Veeramachaneni 5ff283a7b7
Reflect the grouping in the UI
8 years ago
Goutham Veeramachaneni 8cca666cf2
Add file name to group.
8 years ago
Goutham Veeramachaneni e893c89333
Validate labels and annotations
8 years ago
Goutham Veeramachaneni a48a018368
Make sure groups are unique in a single file
8 years ago
Goutham Veeramachaneni cea1e99f78
Add update-rules command to promtool
8 years ago
Goutham Veeramachaneni e8f55669ea Move rules to new format
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 9bc68db7e6 Track staleness per rule rather than per group.
8 years ago
Brian Brazil 0451d6d31b Add unittest for rule staleness, and rules generally.
8 years ago
Brian Brazil 0400f3cfd2 Very basic staleness handling for rules.
8 years ago
Fabian Reinartz 06c2b76cd4 Merge branch 'master' into uptsdb
8 years ago
Alexey Palazhchenko b0e1ea7c6c Simplify code, fix typos. (#2719)
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 8ffc851147 Merge branch 'master' into dev-2.0
8 years ago
Tobias Schmidt eaf33759fb Register forgotten prometheus_evaluator_iterations_total metric
8 years ago
Tobias Schmidt aaaba57184 Export number of missed rule evaluations
8 years ago
Fabian Reinartz 5772f1a7ba retrieval/storage: adapt to new interface
8 years ago
Fabian Reinartz ad9bc62e4c storage: extend appender and adapt it
8 years ago
Fabian Reinartz e94b0899ee rules: fix tests, remove model types
8 years ago