Commit Graph

254 Commits (5beb2fe0051fb0ea04e32ab0e0b8bdac86d3ae75)

Author SHA1 Message Date
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 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 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
Julius Volz ac203ef0ee Add externalURL template function (#2716)
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 5817cb5bde *: migrate from model.* to promql.* types
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
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
beorn7 45e5775f9b Add missing logging of out-of-order samples
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
beorn7 ec08c9a391 Rework the way to communicate backpressure (AKA suspended ingestion)
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 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 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
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
Fabian Reinartz 306e8468a0 Switch from client_golang/model to common/model
9 years ago
Fabian Reinartz 7a67472fc1 Resolve relative paths on configuration loading
9 years ago
Fabian Reinartz feb8a03503 rules: load rule files relative to a base dir
10 years ago
Julius Volz fcff35b43e Consolidate external reachability flags into one.
10 years ago
Fabian Reinartz f06cf664e1 rules: cleanup alerting test
10 years ago
Fabian Reinartz 9bd4f6d017 rules: preserve alert state across reloads.
10 years ago
Fabian Reinartz 4625485b84 rules: move rules*.go contents to manager*.go
10 years ago
Fabian Reinartz 749ae450c5 promql: add runbook to alert statement.
10 years ago
Fabian Reinartz 5e13880201 General cleanup of rules.
10 years ago
Fabian Reinartz 280d11dca8 main: exit on invalid rule files on startup.
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
Fabian Reinartz f45a5cab60 Move templates package to pkg/template
10 years ago
Fabian Reinartz c44ac7bc26 Load rule files from entire directories
10 years ago
Julius Volz ff53d10849 Fix double slash in GeneratorURL sent to alertmanager.
10 years ago
Julius Volz 267fd34156 Switch Prometheus to use github.com/prometheus/log.
10 years ago
Fabian Reinartz bb540fd9fd Implement config reloading on SIGHUP.
10 years ago
Fabian Reinartz fe935179cd Stop routing rule statements through the engine.
10 years ago
Fabian Reinartz 479891c9be Rename RuleManager to Manager, remove interface.
10 years ago
Fabian Reinartz 3ca11bcaf5 Switch Prometheus to promql package.
10 years ago
Brian Brazil e041c0cd46 Add console and alert templates with access to all data.
11 years ago
Julius Volz 01f652cb4c Separate storage implementation from interfaces.
11 years ago
Julius Volz 20bfaf80ab Merge "Display filename when encountering bad rule file."
11 years ago
Julius Volz 3bf3a555b2 Merge "add evalDuration histogram and ruleCount counter for rules"
11 years ago
Stuart Nelson b75adfebad add evalDuration histogram and ruleCount counter for rules
11 years ago
Julius Volz 77a79d1fc0 Display filename when encountering bad rule file.
11 years ago
Julius Volz fb44580110 Cleanup/fix program termination sequence.
11 years ago
Julius Volz 740d448983 Use custom timestamp type for sample timestamps and related code.
11 years ago
Julius Volz 1eb1ceac8c Add alert-expression console links to notifications.
11 years ago
Julius Volz aa5d251f8d Use github.com/golang/glog for all logging.
11 years ago
Julius Volz 3b970c5133 Add variable interpolation to notification messages.
11 years ago
Julius Volz 35ee2cd3cb Add alertmanager notification support to Prometheus.
11 years ago
Matt T. Proud 30b1cf80b5 WIP - Snapshot of Moving to Client Model.
12 years ago
Julius Volz 0226d1ac7a Implement alerts dashboard and expression console links.
12 years ago
Julius Volz ba29d07901 Show loaded rules in Status dashboard.
12 years ago
Julius Volz adb87816f4 Put RuleManager concurrency in hands of caller, fix races.
12 years ago
Matt T. Proud c10780c966 Introduce telemetry for rule evaluator durations.
12 years ago
Julius Volz 56324d8ce2 Make AST query storage non-global.
12 years ago
Julius Volz 9cea5d9df8 Convert the Prometheus configuration to protocol buffers.
12 years ago
Julius Volz d8110fcd9c Send sample arrays instead of single samples over channels.
12 years ago
Julius Volz 2202cd71c9 Track alerts over time and write out alert timeseries.
12 years ago
Julius Volz c0601abf46 Implement initial no-op alert parsing and rule parsing tests.
12 years ago
Julius Volz 1eb586db7d Fix rule evaluation closure.
12 years ago
Julius Volz c4d0969c00 Propagate more errors during rule evaluation.
12 years ago
Matt T. Proud ea54751431 Update import paths to new location.
12 years ago
Julius Volz 483bd81a44 Allow grammar to parse both rules and single expressions.
12 years ago
Julius Volz 56384bf42a Add initial config and rule language implementation.
12 years ago