--- # Source: opentelemetry-collector/templates/configmap-agent.yaml apiVersion: v1 kind: ConfigMap metadata: name: example-opentelemetry-collector-agent labels: helm.sh/chart: opentelemetry-collector-0.50.1 app.kubernetes.io/name: opentelemetry-collector app.kubernetes.io/instance: example app.kubernetes.io/version: "0.73.0" app.kubernetes.io/managed-by: Helm data: relay: | exporters: logging: {} extensions: health_check: {} memory_ballast: size_in_percentage: 40 processors: batch: {} memory_limiter: check_interval: 5s limit_percentage: 80 spike_limit_percentage: 25 receivers: filelog: exclude: [] include: - /var/log/pods/*/*/*.log include_file_name: false include_file_path: true operators: - id: get-format routes: - expr: body matches "^\\{" output: parser-docker - expr: body matches "^[^ Z]+ " output: parser-crio - expr: body matches "^[^ Z]+Z" output: parser-containerd type: router - id: parser-crio output: extract_metadata_from_filepath regex: ^(?P