Commit Graph

381 Commits (658b33808cb884c118fb982a956fb72ae3d04d1e)

Author SHA1 Message Date
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
Fabian Reinartz f8fc1f5bb2 *: migrate ingestion to new batch Appender
8 years ago
Fabian Reinartz fecf9532b9 *: fix misc compile errors
8 years ago
Fabian Reinartz 622ece6273 *: fix recording tests, migrate matcher 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 d78dd3593d Set evaluation interval on Group construction
8 years ago
Jonathan Lange 31fc357cd8 Make NewGroup and Group.Eval public
8 years ago
Jonathan Lange 2a2da40223 Make rule evaluation publicly available
8 years ago
Matt Bostock 926a5ab3dd rules/manager.go: Fix race between reload and stop
8 years ago
Julius Volz c187308366 storage: Contextify storage interfaces.
8 years ago
Julius Volz ed5a0f0abe promql: Allow per-query contexts.
8 years ago
beorn7 75bae065fd Revert "Modify tests to adjust to reverting the /graph changes"
8 years ago
beorn7 f1ea5bf232 Modify tests to adjust to reverting the /graph changes
8 years ago
Julius Volz fe7b8b7fd1 Add missing license header to alerting_test.go
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
Dmitry Vorobev 273e457da4 web: return status code and error message for config resource
8 years ago
Brian Brazil 0509b0f2db Expand alert templates at eval time.
8 years ago
beorn7 064b57858e Consistently use the `Seconds()` method for conversion of durations
9 years ago
Fabian Reinartz f7ed2ff706 Merge pull request #1644 from prometheus/beorn7/logging
9 years ago
beorn7 b95c096a45 Fix style issues in rules/...
9 years ago
beorn7 45e5775f9b Add missing logging of out-of-order samples
9 years ago
beorn7 4b574e8a61 Switch chunk encoding to type 2 where it was hardcoded type 1 before
9 years ago
Fabian Reinartz d89c254849 Make copying alerting state safer.
9 years ago
Fabian Reinartz bfa8aaa017 Rename notification to notifier
9 years ago
beorn7 663a1550d0 Fix the instrumentation fixes
9 years ago
Tobias Schmidt f1f8317fa5 Fix detection of flapping alerts
9 years ago
Björn Rabenstein 9ea3897ea7 Merge pull request #1354 from prometheus/beorn7/storage
9 years ago
beorn7 ec08c9a391 Rework the way to communicate backpressure (AKA suspended ingestion)
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 b0adfea8d5 Fix swapped constants, improve instrumentation
9 years ago
Fabian Reinartz a8c38c3ac5 Don't log rule evaluation failure on shutdown
9 years ago
Fabian Reinartz 6eee86dce8 Terminate rule groups during initial sleep
9 years ago
Fabian Reinartz 26eb3ac2f8 Don't skip recording rule errors
9 years ago
Fabian Reinartz 37d80c4b25 Fix premature rule evaluation
9 years ago
Fabian Reinartz 0cf3c6a9ef Add comments, rename a method
9 years ago
Fabian Reinartz bf6abac8f4 Send resolved notifications
9 years ago
Fabian Reinartz f69e668fc4 Improve rules/ instrumentation
9 years ago
Fabian Reinartz 62075aa037 Reduce noisy no-alertmanager warning
9 years ago
Fabian Reinartz 52e5224f5a Refactor rules/ package
9 years ago
Fabian Reinartz e4fabe135a Set StartsAt to time of first firing state
9 years ago
Fabian Reinartz 7c90db22ed Use annotation based alerts in rules/
9 years ago
Fabian Reinartz e114ce0ff7 Refactor notification handler
9 years ago
Fabian Reinartz e3b6ec9784 Switch to common/log
9 years ago
Fabian Reinartz 171f50706a Fix unkeyed field errors.
9 years ago
Brian Brazil 4d196fea6b Merge pull request #1032 from prometheus/scalar-metric
9 years ago
Brian Brazil 3bcdb2bbba rules: Allow for setting labels on LHS on scalars
9 years ago
Julius Volz 995d3b831d Fix most golint warnings.
9 years ago
Fabian Reinartz d6b8da8d43 Switch promql types to common/model
9 years ago
Brian Brazil fdf0d0642e Cast value to float, as that's what the console templates expect.
9 years ago
Fabian Reinartz 438e232c9b Fix grouping of import blocks
9 years ago