mirror of
https://github.com/VictoriaMetrics/VictoriaMetrics.git
synced 2024-12-29 23:30:04 +01:00
740bb2cc00
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>
22 lines
352 B
YAML
22 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"
|