metrics-agent-windows job from metrics-discovery/2.0.2
Github source:
ecbeb72
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
grpc
¶
ca_cert
¶TLS loggregator root CA certificate
cert
¶TLS certificate for GRPC ingress server signed by the loggregator CA
key
¶TLS private key for GRPC ingress server signed by the loggregator CA
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
14827
server_name
¶The server name used in the scrape configuration for the metrics endpoint
whitelisted_timer_tags
¶A list of tags allowed for aggregating timer metrics into histograms
- Default
source_id,deployment,job,index,ip
metrics_exporter_port
¶
Port the agent uses to serve the Prometheus endpoint
- Default
14826
metrics_targets_file
¶
The location of the generated metrics_targets.yml containing on-vm locations to scrape
- Default
/var/vcap/data/metrics-agent-windows/metric_targets.yml
port
¶
Port the agent is serving gRPC via mTLS
- Default
3461
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
tags
¶
Collection of tags to add on all outgoing v2 envelopes. Bosh deployment, instance group, and index will be merged with this property if they are not provided
- Default
{}
- Example
-
deployment: cf
Templates¶
Templates are rendered and placed onto corresponding
instances during the deployment process. This job's templates
will be placed into /var/vcap/jobs/metrics-agent-windows/
directory
(learn more).
bin/pre-start.ps1
(frompre-start.ps1.erb
)config/certs/grpc.crt
(fromgrpc.crt.erb
)config/certs/grpc.key
(fromgrpc.key.erb
)config/certs/grpc_ca.crt
(fromgrpc_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.