Skip to content

metric-store job from metric-store/1.2.2

Github source: 77cdd6b or master branch

Properties

alertmanager

addr

Address of the alertmanager HTTP API.

disk_free_percent_target

Percentage of free disk space below which old metrics are automatically pruned (takes precedence over retention period)

Default
20

health_port

The port for metric-store to bind a health endpoint

Default
6060

ingress_port

The port for the metric-store to listen on for ingress

Default
8090

label_truncation_length

Maximum length of any label value; longer values will be automatically truncated

Default
256

metric_store_server

tls

ca_cert

The Certificate Authority for metric-store mutual TLS.

cert

The cert for metric-store TCP server mutual TLS.

key

The private key for metric-store TCP server mutual TLS.

port

The port for the metric-store to listen on

Default
8080

promql

query_timeout

The maximum allowed runtime for a single PromQL query. Smaller timeouts are recommended.

Default
60s

retention_period_in_days

How old metrics can be before being automatically expired

Default
42

rules_path

Path to the rules file for recording rules or alertmanager.

storage_path

Where metric-store should keep persistent data

Default
/var/vcap/store/metric-store

tls

ca_cert

The Certificate Authority for metric-store mutual TLS.

cert

The client cert for metric-store mutual TLS.

key

The client private key for metric-store 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/metric-store/ directory (learn more).

  • config/bpm.yml (from bpm.yml.erb)
  • config/certs/metric_store.crt (from metric_store.crt.erb)
  • config/certs/metric_store.key (from metric_store.key.erb)
  • config/certs/metric_store_ca.crt (from metric_store_ca.crt.erb)
  • config/certs/metric_store_server.crt (from metric_store_server.crt.erb)
  • config/certs/metric_store_server.key (from metric_store_server.key.erb)
  • config/certs/metric_store_server_ca.crt (from metric_store_server_ca.crt.erb)
  • config/metric_port.yml (from metric_port.yml.erb)

Packages

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