Skip to content

log-cache job from log-cache/2.5.0

Github source: e6ddcb9 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 (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)
  • config/certs/metrics.crt (from metrics.crt.erb)
  • config/certs/metrics.key (from metrics.key.erb)
  • config/certs/metrics_ca.crt (from metrics_ca.crt.erb)
  • config/indicators.yml (from indicators.yml.erb)
  • config/prom_scraper_config.yml (from prom_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.