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).
This commit is contained in:
Julius Volz 2016-02-14 22:20:39 +01:00
parent 738e6f41d4
commit 829a029dda
2 changed files with 2 additions and 2 deletions

View File

@ -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]"),

View File

@ -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}