prom_scraper job from loggregator-agent/6.3.10
Github source:
27c8bc0c
or
master branch
Properties¶
config_globs
¶
Files matching the globs are expected to contain information to scrape a Prometheus metrics endpoint on localhost.
- Default
- /var/vcap/jobs/*/config/prom_scraper_config.yml - /var/vcap/jobs/*/config/metric_port.yml
logging
¶
format
¶
timestamp
¶Format for timestamp in component logs. Valid values are ‘deprecated’ and ‘rfc3339’.
- Default
deprecated
loggregator_agent
¶
grpc_port
¶The gRPC port used to connect to loggregator agent. Can come from loggregator link
tls
¶
ca_cert
¶The CA used to communicate with loggregator agent. Can come from loggregator link
cert
¶The cert used to communicate with loggregator agent. Can come from loggregator link
key
¶The key used to communicate with loggregator agent. Can come from loggregator link
metrics
¶
ca_cert
¶TLS CA cert to verify requests to metrics endpoint.
cert
¶TLS certificate for metrics server signed by the metrics CA
key
¶TLS private key for metrics server signed by the metrics CA
port
¶Port the agent uses to serve metrics and debug information
- Default
14821
server_name
¶The server name used in the scrape configuration for the metrics endpoint
scrape
¶
tls
¶
ca_cert
¶The CA used to communicate with scrape targets
cert
¶The cert used to communicate with scrape targets
key
¶The key used to communicate with scrape targets
scrape_interval
¶
The interval to scrape the metrics URL (golang duration)
- Default
15s
skip_ssl_validation
¶
If true, Skips SSL Validation when scraping
- Default
false
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).
config/bpm.yml
(frombpm.yml.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
)config/certs/metrics.crt
(frommetrics.crt.erb
)config/certs/metrics.key
(frommetrics.key.erb
)config/certs/metrics_ca.crt
(frommetrics_ca.crt.erb
)config/certs/scrape.crt
(fromscrape.crt.erb
)config/certs/scrape.key
(fromscrape.key.erb
)config/certs/scrape_ca.crt
(fromscrape_ca.crt.erb
)config/prom_scraper_config.yml
(fromprom_scraper_config.yml.erb
)
Packages¶
Packages are compiled and placed onto corresponding
instances during the deployment process. Packages will be
placed into /var/vcap/packages/
directory.