prom_scraper job from loggregator-agent/2.1
Github source:
c2d4766 or
master branch
Properties¶
metrics_url¶
The URL of the local endpoint that provides prometheus metrics
- Default
http://localhost:9100/metrics
scrape_interval¶
The interval to scrape the metrics URL (golang duration)
- Default
15s
Templates¶
Templates are rendered and placed onto corresponding
instances during the deployment process. This job's templates
will be placed into /var/vcap/jobs/prom_scraper/ directory
(learn more).
bin/environment.sh(fromenvironment.sh.erb)bin/prom_scraper_ctl(fromprom_scraper_ctl.erb)config/certs/loggregator_agent.crt(fromloggregator_agent.crt.erb)config/certs/loggregator_agent.key(fromloggregator_agent.key.erb)config/certs/loggregator_ca.crt(fromloggregator_ca.crt.erb)
Packages¶
Packages are compiled and placed onto corresponding
instances during the deployment process. Packages will be
placed into /var/vcap/packages/ directory.