log-cache-expvar-forwarder job from log-cache/1.3.1
Github source:
1cb06dd
or
master branch
Properties¶
counters
¶
A array of Objects that have the following fields: - addr: address of the expvar endpoint - name: The output name of the Counter - source_id: The output sourceID of the Counter - template: The golang text/template to find the metric in the expvar output. - tags: An object that can only have string values. They will be passed as tags on the envelope.
gauges
¶
A array of Objects that have the following fields: - addr: address of the expvar endpoint - name: The output name of the Counter - unit: The output unit of the Counter - source_id: The output sourceID of the Counter - template: The golang text/template to find the metric in the expvar output. - tags: An object that can only have string values. They will be passed as tags on the envelope.
log_metrics
¶
Write each metric from the endpoints to Log Cache and stdout.
- Default
true
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-expvar-forwarder/
directory
(learn more).
bin/ctl
(fromctl
)bin/environment.sh
(fromenvironment.sh.erb
)config/certs/ca.crt
(fromca.crt.erb
)config/certs/log_cache.crt
(fromlog_cache.crt.erb
)config/certs/log_cache.key
(fromlog_cache.key.erb
)
Packages¶
Packages are compiled and placed onto corresponding
instances during the deployment process. Packages will be
placed into /var/vcap/packages/
directory.