Skip to content

metric-store job from metric-store/1.6.0

Github source: 6dd73322 or master branch

Properties

disk_free_percent_target

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

Default
20

ingress_port

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

Default
8090

internode_port

The port for the metric-store to listen on for internode communication

Default
8091

label_truncation_length

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

Default
256

max_concurrent_queries

Queue queries after this maximum number of queries running concurrently

Default
1

metric_store_internode

tls

ca_cert

The Certificate Authority for metric-store internode TCP mutual TLS.

cert

The cert for metric-store TCP internode mutual TLS.

key

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

metric_store_metrics_client

tls

ca_cert

The Certificate Authority for metric-store metrics mutual TLS client.

cert

The cert for metric-store metrics mutual TLS client.

key

The private key for metric-store metrics mutual TLS client.

metric_store_metrics_server

tls

ca_cert

The Certificate Authority for metric-store metrics mutual TLS server.

cert

The cert for metric-store metrics mutual TLS server.

key

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

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.

metrics_port

The port for metric-store to bind a prometheus metrics endpoint

Default
6060

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

replication_factor

How many instances should store a copy of each metric

Default
1

retention_period_in_days

How old metrics can be before being automatically expired

Default
42

storage_path

Where metric-store should keep persistent data

Default
/var/vcap/store/metric-store

tls

ca_cert

The Certificate Authority for metric-store query endpoint mutual TLS.

cert

The client cert for metric-store query endpoint mutual TLS.

key

The client private key for metric-store query endpoint 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).

  • bin/health-check.sh (from health-check.sh.erb)
  • bin/pre-start.sh (from pre-start.sh)
  • config/bpm.yml (from bpm.yml.erb)
  • config/certs/metric_store.crt (from certs/metric_store.crt.erb)
  • config/certs/metric_store.key (from certs/metric_store.key.erb)
  • config/certs/metric_store_ca.crt (from certs/metric_store_ca.crt.erb)
  • config/certs/metric_store_internode.crt (from certs/metric_store_internode.crt.erb)
  • config/certs/metric_store_internode.key (from certs/metric_store_internode.key.erb)
  • config/certs/metric_store_internode_ca.crt (from certs/metric_store_internode_ca.crt.erb)
  • config/certs/metric_store_metrics_client.crt (from certs/metric_store_metrics_client.crt.erb)
  • config/certs/metric_store_metrics_client.key (from certs/metric_store_metrics_client.key.erb)
  • config/certs/metric_store_metrics_client_ca.crt (from certs/metric_store_metrics_client_ca.crt.erb)
  • config/certs/metric_store_metrics_server.crt (from certs/metric_store_metrics_server.crt.erb)
  • config/certs/metric_store_metrics_server.key (from certs/metric_store_metrics_server.key.erb)
  • config/certs/metric_store_metrics_server_ca.crt (from certs/metric_store_metrics_server_ca.crt.erb)
  • config/certs/metric_store_server.crt (from certs/metric_store_server.crt.erb)
  • config/certs/metric_store_server.key (from certs/metric_store_server.key.erb)
  • config/certs/metric_store_server_ca.crt (from certs/metric_store_server_ca.crt.erb)
  • config/indicators.yml (from indicators.yml.erb)
  • config/rules.yml (from rules.yml)
  • config/scrape_config.yml (from scrape_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.