Skip to content

log-cache job from log-cache/2.0.3

Github source: 724ccd0 or master branch

Properties

disabled

Turns off log cache.

Default
false

health_addr

The address for LogCache to bind a health endpoint

Default
localhost:6060

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

Default
50

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 (from bpm.yml.erb)
  • config/certs/ca.crt (from ca.crt.erb)
  • config/certs/log_cache.crt (from log_cache.crt.erb)
  • config/certs/log_cache.key (from log_cache.key.erb)

Packages

Packages are compiled and placed onto corresponding instances during the deployment process. Packages will be placed into /var/vcap/packages/ directory.