mirror of
https://github.com/VictoriaMetrics/VictoriaMetrics.git
synced 2024-11-21 14:44:00 +00:00
408d7043a1
Allow configuring authorization params per list of targets in vmalert's notifier config for `static_configs`. See https://github.com/VictoriaMetrics/VictoriaMetrics/issues/2690 Signed-off-by: hagen1778 <roman@victoriametrics.com> Signed-off-by: hagen1778 <roman@victoriametrics.com>
21 lines
352 B
YAML
21 lines
352 B
YAML
headers:
|
|
- 'CustomHeader: foo'
|
|
|
|
static_configs:
|
|
- targets:
|
|
- localhost:9093
|
|
- localhost:9095
|
|
basic_auth:
|
|
username: foo
|
|
password: bar
|
|
|
|
- targets:
|
|
- localhost:9096
|
|
- localhost:9097
|
|
basic_auth:
|
|
username: foo
|
|
password: baz
|
|
|
|
alert_relabel_configs:
|
|
- target_label: "foo"
|
|
replacement: "aaa"
|