mirror of
https://github.com/VictoriaMetrics/VictoriaMetrics.git
synced 2024-11-21 14:44:00 +00:00
e8f5dbd598
to allow configuring additional headers in each request to the
corresponding notifier.
Other flags like `-datasource.headers`, `-remoteWrite.headers` already
use `^^` as delimiter, it's consistent to use it in `-notifier.headers`
as well.
related https://github.com/VictoriaMetrics/VictoriaMetrics/issues/3260
vmalert can integrate with alertmanager that supports multi-tenant by
adding tenantID header`X-Scope-OrgID` in requests.
In multitenancy, vmalert can also filter alerts which send to different
notifier addresses(or with different header settings) using
`alert_relabel_configs`.
Updates https://github.com/VictoriaMetrics/VictoriaMetrics/issues/3260
---------
Signed-off-by: hagen1778 <roman@victoriametrics.com>
Co-authored-by: hagen1778 <roman@victoriametrics.com>
(cherry picked from commit
|
||
---|---|---|
.. | ||
config | ||
datasource | ||
deployment | ||
multiarch | ||
notifier | ||
remoteread | ||
remotewrite | ||
rule | ||
static | ||
templates | ||
tpl | ||
utils | ||
main.go | ||
main_test.go | ||
Makefile | ||
manager.go | ||
manager_test.go | ||
README.md | ||
replay.go | ||
replay_test.go | ||
web.go | ||
web.qtpl | ||
web.qtpl.go | ||
web_test.go | ||
web_types.go | ||
web_types_test.go |
See vmalert docs here.
vmalert docs can be edited at docs/vmalert.md.