diff --git a/freeleaps/helm-pkg/centralStorage/templates/central-storage/opentelemetry.yaml b/freeleaps/helm-pkg/centralStorage/templates/central-storage/opentelemetry.yaml index 152f2bb3..c1626c8e 100644 --- a/freeleaps/helm-pkg/centralStorage/templates/central-storage/opentelemetry.yaml +++ b/freeleaps/helm-pkg/centralStorage/templates/central-storage/opentelemetry.yaml @@ -54,6 +54,16 @@ spec: - type: json_parser parse_from: body parse_to: attributes + otlp: + protocols: + grpc: + endpoint: 0.0.0.0:4317 + http: + endpoint: 0.0.0.0:4318 + # Add container logs receiver + k8scluster: + collection_interval: 1s + auth_type: serviceAccount processors: resource: attributes: @@ -112,7 +122,7 @@ spec: level: info pipelines: logs: - receivers: [filelog] + receivers: [filelog, otlp, k8scluster] processors: [resource, transform, batch] exporters: [otlphttp/logs] {{- end }} \ No newline at end of file