Hi can someone guide me on how to make this enviro...
# general
v
Hi can someone guide me on how to make this environment selection work? https://signoz.io/blog/community-update-23/#ability-to-filter-by-deployment-environment-in-service-maps
s
v
I tried that as well. But still issue was not resolved. @Eric Thompson helped me with the configurations.
Copy code
otelAgent:
  config:
    processors:
      resource/upsert:
        attributes:
          - key: deployment.environment
            value: dev
            action: upsert
      attributes/upsert:
        actions:
          - key: k8s_cluster_name
            value: dev
            action: upsert
    service:
      pipelines:
        traces:
          receivers: [otlp]
          processors: [attributes/upsert, resource/upsert, batch]
          exporters: []
        metrics:
          receivers: [otlp]
          processors: [attributes/upsert, resource/upsert, batch]
          exporters: []
Once I added these to my otel configuration its started working.
🙏 1