Skip to content

Commit

Permalink
Merge pull request #450 from treydock/fix-scrape_job
Browse files Browse the repository at this point in the history
Fix scrape job file names to ensure job_name is prefix
  • Loading branch information
ghoneycutt authored May 18, 2020
2 parents f042307 + 11300a0 commit 123cad5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion manifests/scrape_job.pp
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
labels => $labels,
},
])
file { "${collect_dir}/${name}.yaml":
file { "${collect_dir}/${job_name}_${name}.yaml":
ensure => file,
owner => 'root',
group => $prometheus::group,
Expand Down

0 comments on commit 123cad5

Please sign in to comment.