# To limit exposure to denial of service attacks, change the host in endpoints below from 0.0.0.0 to a specific network interface. # See https://github.com/open-telemetry/opentelemetry-collector/blob/main/docs/security-best-practices.md#safeguards-against-denial-of-service-attacks extensions: health_check: endpoint: 0.0.0.0:13133 pprof: endpoint: 0.0.0.0:1777 zpages: endpoint: 0.0.0.0:55679 receivers: otlp: protocols: grpc: endpoint: 0.0.0.0:4317 http: endpoint: 0.0.0.0:4318 # Receiver for syslog messages (UDP) syslog: udp: listen_address: "0.0.0.0:5140" protocol: rfc3164 operators: - type: regex_parser regex: '^<[0-9]+>.*nginx: (?P.*)$' - type: move from: attributes.message_content to: attributes.message # Collect own metrics prometheus: config: scrape_configs: - job_name: 'otel-collector' scrape_interval: 10s static_configs: - targets: ['0.0.0.0:8888'] jaeger: protocols: grpc: endpoint: 0.0.0.0:14250 thrift_binary: endpoint: 0.0.0.0:6832 thrift_compact: endpoint: 0.0.0.0:6831 thrift_http: endpoint: 0.0.0.0:14268 zipkin: endpoint: 0.0.0.0:9411 processors: batch: exporters: debug: verbosity: detailed otlp/jaeger: endpoint: "jaeger:4317" tls: insecure: true service: pipelines: traces: receivers: [otlp, jaeger, zipkin] processors: [batch] exporters: [debug, otlp/jaeger] metrics: receivers: [otlp, prometheus] processors: [batch] exporters: [debug] logs: receivers: [otlp, syslog] processors: [batch] exporters: [debug] extensions: [health_check, pprof, zpages]