Uploaded image for project: 'Observability Documentation'
  1. Observability Documentation
  2. OBSDOCS-3017

[blocker][TRACING-5903] KUBE_NODE_NAME not set configuring k8sattributes processor

XMLWordPrintable

      In order to filter by namespace, I tried to add a processor to the `OpenTelemetryCollector` CR:

      processors: 
          k8sattributes: 
            filter: 
              node_from_env_var: KUBE_NODE_NAME
      

      Following the OCP OpenTelemetry documentation

      But on the collector pods I have the following error:

      Error: invalid configuration: processors::k8sattributes::filter: `node_from_env_var` is configured but envvar "KUBE_NODE_NAME" is not set
      2025/12/18 16:18:43 collector server run finished with error: invalid configuration: processors::k8sattributes::filter: `node_from_env_var` is configured but envvar "KUBE_NODE_NAME" is not set
      

              rhn-support-mleonov Max Leonov
              fercoli Fabio Massimo Ercoli
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated: