From 829a029dda3320df1a16caaafb6d9755f2f43106 Mon Sep 17 00:00:00 2001 From: Julius Volz Date: Sun, 14 Feb 2016 22:20:39 +0100 Subject: [PATCH] Update two more __meta_dns_srv_name references. Although they are only in examples/tests and don't affect anything, they could be confusing (the label has been renamed in the rest of the code a while ago). --- config/config_test.go | 2 +- config/testdata/conf.good.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/config/config_test.go b/config/config_test.go index c0cc9a3ba..eebea6e72 100644 --- a/config/config_test.go +++ b/config/config_test.go @@ -83,7 +83,7 @@ var expectedConf = &Config{ RelabelConfigs: []*RelabelConfig{ { - SourceLabels: model.LabelNames{"job", "__meta_dns_srv_name"}, + SourceLabels: model.LabelNames{"job", "__meta_dns_name"}, TargetLabel: "job", Separator: ";", Regex: MustNewRegexp("(.*)some-[regex]"), diff --git a/config/testdata/conf.good.yml b/config/testdata/conf.good.yml index b26f4ca78..c1d11d697 100644 --- a/config/testdata/conf.good.yml +++ b/config/testdata/conf.good.yml @@ -39,7 +39,7 @@ scrape_configs: your: label relabel_configs: - - source_labels: [job, __meta_dns_srv_name] + - source_labels: [job, __meta_dns_name] regex: (.*)some-[regex] target_label: job replacement: foo-${1}