-
Notifications
You must be signed in to change notification settings - Fork 2.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Include ImageID in Resource attributes detected by k8sattributes processor #32152
Comments
Pinging code owners for processor/k8sattributes: @dmitryax @rmfitzpatrick @fatsheep9146 @TylerHelmuth. See Adding Labels via Comments if you do not have permissions to add labels yourself. |
This seems reasonable to me |
This issue has been inactive for 60 days. It will be closed in 60 days if there is no activity. To ping code owners by adding a component label, see Adding Labels via Comments, or if you are unsure of which component this issue relates to, please ping Pinging code owners:
See Adding Labels via Comments if you do not have permissions to add labels yourself. |
Closed in favor of #34029 Enable populating |
Component(s)
k8sattributes
procesorIs your feature request related to a problem? Please describe.
We currently make use of the
k8sattributes
processor to augment Resource attributes from pods running in our k8s clusters.We are interested in obtaining the full sha256 digest version of the image associated with the container in a Kubernetes pod that is emitting telemetry, rather than relying on just the image name + tag.
Describe the solution you'd like
If we include
container.id
in thek8sattributes::metadata
array, we'd like to get not onlycontainer.image.name
,container.image.tag
, but alsocontainer.image.id
added to the resource for that signal.Describe alternatives you've considered
Scrape information from kube-state-metrics (which does provide the image digest) and somehow cross-join that with the resource attributes determined by k8sattributes processor?
Additional context
Currently it seems like the k8sattributes processor extracts the image name and image tag from the
v1.Pod.Spec.Containers
data structure. The image digest is available inv1.Pod.Status.ContainerStatuses[].ImageID
.The text was updated successfully, but these errors were encountered: