log-cache job from log-cache/2.6.4
Github source:
49d54bf
or
master branch
Properties¶
disabled
¶
Turns off log cache.
- Default
false
max_per_source
¶
The maximum number of items stored in LogCache per source.
- Default
100000
memory_limit_percent
¶
Percentage of system memory to use for the cache. Must be an integer.
- Default
50
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
¶The port for LogCache to bind a health endpoint
- Default
6060
server_name
¶The server name used in the scrape configuration for the metrics endpoint
port
¶
The port for the log-cache to listen on
- Default
8080
promql
¶
query_timeout
¶The maximum allowed runtime for a single PromQL query. Smaller timeouts are recommended.
- Default
10s
tls
¶
ca_cert
¶The Certificate Authority for log cache mutual TLS.
cert
¶The client cert for log cache mutual TLS.
key
¶The client private key for log cache mutual TLS.
Templates¶
Templates are rendered and placed onto corresponding
instances during the deployment process. This job's templates
will be placed into /var/vcap/jobs/log-cache/
directory
(learn more).
config/bpm.yml
(frombpm.yml.erb
)config/certs/ca.crt
(fromca.crt.erb
)config/certs/log_cache.crt
(fromlog_cache.crt.erb
)config/certs/log_cache.key
(fromlog_cache.key.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/indicators.yml
(fromindicators.yml.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.