parameters: | |
prometheus: | |
server: | |
config: | |
alert_relabel_configs: | |
- replacement: "aggregated" | |
source_labels: "instance" | |
target_label: "instance" | |
- source_labels: "host" | |
target_label: "instance" | |
regex: "(.+)" | |
- source_labels: "job" | |
target_label: "instance" | |
regex: "(.+)" | |
- source_labels: ["host", "job"] | |
target_label: "instance" | |
regex: "(.+;.+)" | |
- source_labels: ["hostname", "job"] | |
target_label: "instance" | |
regex: "(.+;.+)" |