opentelemetry-collector-contrib: k8sattributes it`s not working in EKS 1.26
Component(s)
processor/k8sattributes
What happened?
Description
I have an open telemetry colector configuration with k8sattributes but in the log context, I cannot see anything from metadata included in k8sattributes
Steps to Reproduce
Configure k8sattributes In EKS 1.26 with open telemetry collector helm chart.
Expected Result
- k8s.pod.name
- k8s.pod.uid
- k8s.deployment.name
- k8s.namespace.name
Actual Result
nothing
Collector version
0.77.0
Environment information
Environment
OS: (e.g., “Ubuntu 20.04”) Compiler(if manually compiled): (e.g., “go 14.2”)
OpenTelemetry Collector configuration
k8sattributes:
auth_type: "serviceAccount"
passthrough: false
filter:
node_from_env_var: KUBE_NODE_NAME
extract:
metadata:
- k8s.pod.name
- k8s.pod.uid
- k8s.deployment.name
- k8s.namespace.name
labels:
- tag_name: c2i.pipeline.execution
key: c2i.pipeline.execution
from: pod
- tag_name: c2i.pipeline.project
key: c2i.pipeline.project
from: pod
annotations:
- tag_name: monitoring # extracts value of annotation from pods with key `annotation-one` and inserts it as a tag with key `a1`
key: monitoring
from: pod
pipelines:
logs/eks:
exporters:
- coralogix
processors:
# - batch
# - resourcedetection/env
- k8sattributes
receivers:
- k8s_events
- filelog
- filelog/2
Log output
No response
Additional context
No response
About this issue
- Original URL
- State: closed
- Created a year ago
- Comments: 52 (24 by maintainers)
@AndriySidliarskiy was your original problem fixed, then? If you have a different one, please close this issue and open a new one, with more information pertaining to the new problem with metrics.