Skip to content

Commit

Permalink
add support for scrape_job_labels from 8.x
Browse files Browse the repository at this point in the history
  • Loading branch information
anarcat committed Nov 26, 2019
1 parent 57d42c2 commit da3f338
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions manifests/bind_exporter.pp
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,7 @@
Boolean $export_scrape_job = false,
Stdlib::Port $scrape_port = 9119,
String[1] $scrape_job_name = 'bind',
Optional[Hash] $scrape_job_labels = undef,
) inherits prometheus {

#Please provide the download_url for versions < 0.9.0
Expand Down Expand Up @@ -136,5 +137,6 @@
export_scrape_job => $export_scrape_job,
scrape_port => $scrape_port,
scrape_job_name => $scrape_job_name,
scrape_job_labels => $scrape_job_labels,
}
}

0 comments on commit da3f338

Please sign in to comment.