From ac6b2fadce01832e94d58c4eb1bcb19b5c2eb862 Mon Sep 17 00:00:00 2001 From: Tomas Karasek Date: Tue, 16 Jul 2019 11:11:21 +0300 Subject: [PATCH] change hostame to instance on recommendtion of prometheus devs --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index d108fb9..51cf9a7 100755 --- a/README.md +++ b/README.md @@ -62,7 +62,7 @@ Here is a Prometheus `scrape_config` snippet that configures Prometheus to scrap # - overwrite the scrape address with the node_exporter's port. # - strip leading commas from the tags label. # - save the facility label - # - save the hostname label + # - save the instance label relabel_configs: - source_labels: [__meta_packet_public_ipv4] replacement: "${1}:9100" @@ -73,7 +73,7 @@ Here is a Prometheus `scrape_config` snippet that configures Prometheus to scrap - source_labels: [__meta_packet_facility] target_label: facility - source_labels: [__meta_packet_hostname] - target_label: hostname + target_label: instance ```