Skip to content

k8sprocessor is self-referencing? #5509

Discussion options

You must be logged in to vote

Working with a DataDog rep, ended up adding the following to the OTel Collector (not Agent daemonset):

  processors::
      resource/host:
        attributes:
        - key: host.name
          from_attribute: k8s.node.name
          action: upsert
[...]
    service:
      pipelines:
        traces:
          processors: [batch, k8s_tagger, resource/host]
[...]

Examining the `host.name`, it was actually reporting `pod.name`. Not sure if this was a problem with the Zipkin exporter.

Correcting `host.name` got us performing k8stagger lookups to the correct pod instead of the OTel daemonset.


Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by cvestre-cisco
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant