Fabian Reinartz
5817cb5bde
*: migrate from model.* to promql.* types
8 years ago
Fabian Reinartz
2ad56aabd4
notifier: extract alertmanager into interface
8 years ago
Fabian Reinartz
b1f28b48a3
Fix typo
8 years ago
Fabian Reinartz
3fb4d1191b
config: rename AlertingConfig, resolve file paths
8 years ago
Fabian Reinartz
d4deb8bbf2
web: show discovered Alertmanagers in UI
8 years ago
Fabian Reinartz
f210d96497
notifier: use dynamic service discovery
8 years ago
Dominik Schulz
182e17958a
Trivial spelling corrections and a small comment.
8 years ago
Frederic Branczyk
572423cbe5
notifier: attach external labels before relabelling
...
By attaching external labels before relabelling, they are available
during relabelling.
8 years ago
Tobias Schmidt
8f3b62bfe4
Simplify struct initialization
8 years ago
Frederic Branczyk
b655aa002f
introduce top level alerting config node
8 years ago
Frederic Branczyk
7714b9c781
move relabeling functionality to its own package
...
also remove the returned error as it was always nil
8 years ago
Frederic Branczyk
679d225c8d
allow relabeling of alerts
...
in case of dropping don't even enqueue them
8 years ago
Dmitry Vorobev
273e457da4
web: return status code and error message for config resource
8 years ago
beorn7
064b57858e
Consistently use the `Seconds()` method for conversion of durations
...
This also fixes one remaining case of recording integral numbers
of seconds only for a metric, i.e. this will probably fix #1796 .
8 years ago
Fabian Reinartz
9baf120cd5
notifier: dispatch to multiple Alertmanagers
...
This commit extends the notifier to dispatch alert batches
to multiple Alertmanagers concurrently.
It changes the `-alertmanager.url` flag to accept a comma
separated list of URLs and/or to be set multiple times.
9 years ago
Dmitry Savintsev
7fdb62c253
fix several minor golint style issues
9 years ago
Fabian Reinartz
bfa8aaa017
Rename notification to notifier
9 years ago