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"