diff --git a/freeleaps/helm-pkg/authentication/templates/authentication/opentelemetry.yaml b/freeleaps/helm-pkg/authentication/templates/authentication/opentelemetry.yaml index 8d156052..f7914f85 100644 --- a/freeleaps/helm-pkg/authentication/templates/authentication/opentelemetry.yaml +++ b/freeleaps/helm-pkg/authentication/templates/authentication/opentelemetry.yaml @@ -29,54 +29,54 @@ spec: parse_from: body parse_to: attributes processors: - k8sattributes: - auth_type: serviceAccount - wait_for_metadata: true - wait_for_metadata_timeout: 10s - passthrough: false - extract: - metadata: - - k8s.pod.name - - k8s.pod.ip - - k8s.pod.uid - - k8s.deployment.name - - k8s.deployment.uid - - k8s.namespace.name - - k8s.node.name + # k8sattributes: + # auth_type: serviceAccount + # wait_for_metadata: true + # wait_for_metadata_timeout: 10s + # passthrough: false + # extract: + # metadata: + # - k8s.pod.name + # - k8s.pod.ip + # - k8s.pod.uid + # - k8s.deployment.name + # - k8s.deployment.uid + # - k8s.namespace.name + # - k8s.node.name attributes: actions: - - action: insert - key: kubernetes.pod_name - from_attribute: k8s.pod.name - - action: insert - key: kubernetes.pod_ip - from_attribute: k8s.pod.ip - - action: insert - key: kubernetes.pod_uid - from_attribute: k8s.pod.uid - - action: insert - key: kubernetes.deployment_name - from_attribute: k8s.deployment.name - - action: insert - key: kubernetes.deployment_uid - from_attribute: k8s.deployment.uid - - action: insert - key: kubernetes.namespace_name - from_attribute: k8s.namespace.name - - action: insert - key: kubernetes.node_name - from_attribute: k8s.node.name + # - action: insert + # key: kubernetes.pod_name + # from_attribute: k8s.pod.name + # - action: insert + # key: kubernetes.pod_ip + # from_attribute: k8s.pod.ip + # - action: insert + # key: kubernetes.pod_uid + # from_attribute: k8s.pod.uid + # - action: insert + # key: kubernetes.deployment_name + # from_attribute: k8s.deployment.name + # - action: insert + # key: kubernetes.deployment_uid + # from_attribute: k8s.deployment.uid + # - action: insert + # key: kubernetes.namespace_name + # from_attribute: k8s.namespace.name + # - action: insert + # key: kubernetes.node_name + # from_attribute: k8s.node.name - action: insert key: app from_attribute: context.app - action: insert key: environment from_attribute: context.env - transform: - log_statements: - - context: log - statements: - - set(log.body["kubernetes"], log.attributes["kubernetes"]) + # transform: + # log_statements: + # - context: log + # statements: + # - set(log.body["kubernetes"], log.attributes["kubernetes"]) batch: send_batch_size: 5 timeout: 10s @@ -94,6 +94,6 @@ spec: pipelines: logs: receivers: [filelog] - processors: [k8sattributes, attributes, transform, batch] + processors: [k8sattributes, attributes, batch] exporters: [otlphttp/logs, debug] {{- end }} \ No newline at end of file