-
Notifications
You must be signed in to change notification settings - Fork 2.4k
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
[receiver/k8scluster] adding more Node resource attributes #30342
Comments
Pinging code owners for receiver/k8scluster: @dmitryax @TylerHelmuth @povilasv. See Adding Labels via Comments if you do not have permissions to add labels yourself. |
**Description:** I would like to use k8s cluster receiver to get more information about Node, such as Container Runtime Version, OS version and OS description. This is how it looks when using kind: ``` k8s_node_allocatable_cpu_{container_runtime="containerd", container_runtime_version="1.6.9", k8s_kubelet_version="v1.25.3", k8s_node_name="kind-control-plane", k8s_node_uid="29b8a758-ac58-45e7-9091-b9ed2e285be9", os_description="Ubuntu 22.04.1 LTS", os_version="6.6.10-arch1-1"} ``` **Link to tracking Issue:** #30342
@povilasv I realize this has been merged already but just want to raise a small concern I have. Could mapping I don't see any guidance for differentiating distro vs kernel version in semantic-conventions, and it isn't that confusing so should be okay. Just thinking out loud if this could potentially be a source of confusion. Additionally, what do you think about exposing the |
Which value between |
To clarify, the kubelet is exposing the version info from
Both are technically right depending on whether you want the version of linux or of the distro. In this case, the accompanying |
I think it make sense to add Regarding This change wasn't yet released so we can do the breaking change. Thoughts? |
) **Description:** I would like to use k8s cluster receiver to get more information about Node, such as Container Runtime Version, OS version and OS description. This is how it looks when using kind: ``` k8s_node_allocatable_cpu_{container_runtime="containerd", container_runtime_version="1.6.9", k8s_kubelet_version="v1.25.3", k8s_node_name="kind-control-plane", k8s_node_uid="29b8a758-ac58-45e7-9091-b9ed2e285be9", os_description="Ubuntu 22.04.1 LTS", os_version="6.6.10-arch1-1"} ``` **Link to tracking Issue:** open-telemetry#30342
looks like adding os.kernel.version is blocked by open-telemetry/semantic-conventions#66 |
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. |
This issue has been closed as inactive because it has been stale for 120 days with no activity. |
Component(s)
receiver/k8scluster
Is your feature request related to a problem? Please describe.
I would like to use k8s cluster receiver to get more information about Node, such as Container Runtime Version, OS version and OS description.
Describe the solution you'd like
I propose to add these resource attributes added to Node metrics, which should be disabled by default:
Describe alternatives you've considered
No response
Additional context
I did a POC and this is how it looks rendered, when using kind cluster:
Which seems to fit the Otel Semantic conventions in https://opentelemetry.io/docs/specs/semconv/resource/os/
The text was updated successfully, but these errors were encountered: