Skip to content

Conversation

@obs-gh-jabernet
Copy link
Collaborator

Container information currently is not reliable, a random container id / name is being discovered, which can lead to confusion at best and labels/attributes dimensionality explosion at worst.

It should be possible to uniquely identify the container based on the pod, but I couldn't get this to work. That would still be the ideal solution - we can always add this back if we manage to get that to work. For now, better to remove the information completely.

Fixes OB-45911

Container information currently is not reliable, a random
container id / name is being discovered, which can lead
to confusion.

It should be possible to uniquely identify the container
based on the pod, but I couldn't get this to work. That
would still be the ideal solution - we can always add this
back if we manage to get that to work.

Fixes OB-45911
Copy link

@orca-security-us orca-security-us bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Orca Security Scan Summary

Status Check Issues by priority
Passed Passed Infrastructure as Code high 0   medium 0   low 0   info 0 View in Orca
Passed Passed SAST high 0   medium 0   low 0   info 0 View in Orca
Passed Passed Secrets high 0   medium 0   low 0   info 0 View in Orca
Passed Passed Vulnerabilities high 0   medium 0   low 0   info 0 View in Orca

- k8s.pod.name
- k8s.pod.uid
- k8s.cluster.uid
{{- if (ne .target "pod_metrics") }}
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this nested NE condition is a little tough to understand, can we add a comment here to explain what happens in the cases

  1. Not pod_metrics or cluster_metrics
  2. pod_metrics
  3. cluster_metrics

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah good callout. I add a comment

@obs-gh-jabernet obs-gh-jabernet marked this pull request as draft July 10, 2025 17:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants