simplify: remove where clause from transform processor

- Remove complex where clause that may cause syntax errors
- Set environment to alpha by default for all logs
- This should fix the transform processor execution issue
This commit is contained in:
Nicolas 2025-09-22 20:45:02 +08:00
parent c4719493af
commit fe2b7200de

View File

@ -80,7 +80,6 @@ spec:
- set(resource.attributes["service.name"], "authentication")
- set(resource.attributes["service_name"], "authentication")
- set(resource.attributes["environment"], "alpha")
- set(resource.attributes["environment"], "prod") where resource.attributes["k8s.namespace.name"] == "freeleaps-prod"
- set(resource.attributes["pod_ip"], resource.attributes["k8s.pod.ip"])
- set(resource.attributes["pod_name"], resource.attributes["k8s.pod.name"])
- set(resource.attributes["kubernetes_node_name"], resource.attributes["k8s.node.name"])