docs(prometheus): adds host label

This commit is contained in:
Marvin Preuss 2021-10-20 14:35:46 +02:00
parent e44d234a7f
commit e50ddd5ab3

View File

@ -7,6 +7,8 @@ scrape_configs:
static_configs: static_configs:
- targets: - targets:
- speedtest.wobcom.de - speedtest.wobcom.de
labels:
host: mybox
relabel_configs: relabel_configs:
- source_labels: [__address__] - source_labels: [__address__]
target_label: __param_target target_label: __param_target