log-cache job from log-cache/2.11.8
Github source:
695d0c4
or
master branch
Properties¶
append_node_addresses
¶
Array of log-cache instances to add to bosh links
disabled
¶
Turns off log cache.
- Default
false
logging
¶
format
¶
timestamp
¶Format for timestamp in component logs. Valid values are ‘deprecated’ and ‘rfc3339’.
- Default
deprecated
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
prepend_node_addresses
¶
Array of log-cache instances to add to bosh links
promql
¶
query_timeout
¶The maximum allowed runtime for a single PromQL query. Smaller timeouts are recommended.
- Default
10s
prunes_per_gc
¶
Number of consecutive prunes to do before running garbage collection. Lowering the value increase CPU utilization
- Default
3
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.
truncation_interval
¶
The amount of time between log-cache checking if it needs to prune
- Default
1s
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.