Add (linux).process.cgroup attribute #1357
Labels
area:security
area:system
enhancement
New feature or request
experts needed
This issue or pull request is outside an area where general approvers feel they can approve
triage:needs-triage
Area(s)
area:system
Is your change request related to a problem? Please describe.
The
hostmetrics
receiver is currently reporting theprocess.cgroup
attribute: https://github.com/open-telemetry/opentelemetry-collector-contrib/blob/main/receiver/hostmetricsreceiver/internal/scraper/processscraper/metadata.yaml#L49This attribute is really helpful as it can be used to extract containerization information like the K8s pod UID and/or the container ID which the process is running on.
Describe the solution you'd like
Standardize the
process.cgroup
attribute.Describe alternatives you've considered
As
cgroups
being a Linux only technology, would it make sense to add the attribute under thelinux
namespace (e.glinux.process.cgroup
)?Additional context
No response
The text was updated successfully, but these errors were encountered: