Skip to content

otel-collector job from loggregator-agent/7.7.0

Github source: 3675fc3c or master branch

Properties

enabled

Enable OTel Collector

Default
true

ingress

grpc

port

Port the collector is listening on to receive OTLP over gRPC

Default
9100
tls
ca_cert

CA root required for key/cert verification in gRPC ingress

cert

TLS server certificate for gRPC ingress

key

TLS server key for gRPC ingress

metric_exporters

Exporter configuration for aggregate metric egress

Default
{}
Example
|+
  otlp:
    endpoint: otelcol:4317
  otlp/2:
    endpoint: otelcol:4318

telemetry

metrics

level

Level of metrics the collector exposes about itself

Default
basic
port

Port to serve the collector’s internal metrics

Default
14830

Templates

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

  • config/bpm.yml (from bpm.yml.erb)
  • config/certs/otel-collector-ca.crt (from otel-collector-ca.crt.erb)
  • config/certs/otel-collector.crt (from otel-collector.crt.erb)
  • config/certs/otel-collector.key (from otel-collector.key.erb)
  • config/config.yml (from config.yml.erb)
  • config/ingress_port.yml (from ingress_port.yml.erb)
  • config/prom_scraper_config.yml (from prom_scraper_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.