Skip to content

metron_agent job from loggregator/101.12

Github source: c5bda65b or master branch

Properties

doppler

addr

DNS name for doppler. This needs to be round robbin DNS if you want metron to communicate with multiple dopplers.

Default
doppler.service.cf.internal

grpc_port

Port for outgoing log messages via GRPC

Default
8082

loggregator

tls

ca_cert

CA root required for key/cert verification

cipher_suites

An ordered list of supported SSL cipher suites. Allowed cipher suites are TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 and TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384.

Default
TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256:TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384
metron
cert

TLS certificate for metron

key

TLS key for metron

metron_agent

bosh_dns

Enable Bosh DNS. Disabling this implies Consul DNS.

Default
false

deployment

Name of deployment (added as tag on all outgoing v1 envelopes)

Default
""

disable_udp

Disable incoming UDP

Default
false

grpc_port

Port the metron agent is listening on to receive gRPC log envelopes

Default
3458

health_port

The port for the health endpoint

Default
14824

listening_address

Address the metron agent is listening on to receive dropsonde log messages provided for BOSH links and should not be overwritten

Default
127.0.0.1

listening_port

Port the metron agent is listening on to receive dropsonde log messages

Default
3457

pprof_port

The pprof port for runtime profiling data

Default
0

tags

Collection of tags to add on all outgoing v2 envelopes. Bosh deployment, job, index and IP will be merged with this property if they are not provided

Default
{}
Example
deployment: cf

zone

Availability zone where this agent is running

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/metron_agent/ directory (learn more).

  • bin/environment.sh (from environment.sh.erb)
  • bin/metron_agent_ctl (from metron_agent_ctl.erb)
  • config/certs/loggregator_ca.crt (from loggregator_ca.crt.erb)
  • config/certs/metron_agent.crt (from metron_agent.crt.erb)
  • config/certs/metron_agent.key (from metron_agent.key.erb)

Packages

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