Skip to content

etcd_metrics_server job from cf/251

The etcd Metrics Server is meant to be collocated with the etcd server to collect and expose runtime statistics for the Collector.

Github source: 493e5077 or master branch

Properties

etcd_metrics_server

etcd

ca_cert

PEM-encoded CA certificate

Default
""
client_cert

PEM-encoded client certificate

Default
""
client_key

PEM-encoded client key

Default
""
dns_suffix

DNS suffix of the etcd server to instrument. Target etcd server must be colocated with this etcd_metrics_server. This property is only used if ‘etcd_metrics_server.etcd.require_ssl’ is ‘true’.”

machine

Address of any etcd server to instrument. Target etcd server does not need to be colocated with this etcd_metrics_server. This address must be an IP or a domain name that resolves to a single etcd server. This property is only used if ‘etcd_metrics_server.etcd.require_ssl’ is ‘false’.

Default
127.0.0.1
port

port of etcd server to instrument

Default
4001
require_ssl

enable ssl for all communication with etcd

Default
false

status

password

basic auth password for metrics server (leave empty for generated)

Default
""
port

listening port for metrics server

Default
5678
username

basic auth username for metrics server (leave empty for generated)

Default
""

Templates

Templates are rendered and placed onto corresponding instances during the deployment process. This job's templates will be placed into /var/vcap/jobs/etcd_metrics_server/ directory (learn more).

  • bin/etcd_metrics_server_ctl (from etcd_metrics_server_ctl.erb)
  • bin/pre-start (from pre-start.erb)
  • certs/ca.crt (from ca.crt.erb)
  • certs/client.crt (from client.crt.erb)
  • certs/client.key (from client.key.erb)

Packages

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