From f7e3722388b8986bd928382c6fa26f63a8a18c30 Mon Sep 17 00:00:00 2001 From: Fabian Reinartz Date: Thu, 13 Aug 2015 15:24:58 +0200 Subject: [PATCH] Rename __meta_dns_srv_name to __meta_dns_name This is change potentially breaking relabeling rules. --- retrieval/discovery/dns.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/retrieval/discovery/dns.go b/retrieval/discovery/dns.go index d9fbffbc1..f171dd6da 100644 --- a/retrieval/discovery/dns.go +++ b/retrieval/discovery/dns.go @@ -32,7 +32,7 @@ import ( const ( resolvConf = "/etc/resolv.conf" - DNSNameLabel = clientmodel.MetaLabelPrefix + "dns_srv_name" + DNSNameLabel = clientmodel.MetaLabelPrefix + "dns_name" // Constants for instrumentation. namespace = "prometheus"