Skip to content
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

Get container metadata in resourcedetection processor. #33821

Open
h0cheung opened this issue Jul 1, 2024 · 1 comment
Open

Get container metadata in resourcedetection processor. #33821

h0cheung opened this issue Jul 1, 2024 · 1 comment
Labels
enhancement New feature or request needs triage New item requiring triage processor/resourcedetection Resource detection processor

Comments

@h0cheung
Copy link
Contributor

h0cheung commented Jul 1, 2024

Component(s)

processor/resourcedetection, processor/resourcedetection/internal/docker

Is your feature request related to a problem? Please describe.

There is a docker detector, but it only generates host metadata.

In components such as javaagent, there are resource providers that can get the container.id field and associate it with container metadata. Is it possible to add similar functionality to this component?

Describe the solution you'd like

Add detector to get contianer.id If a container runtime API is mounted, e.g. docker.sock, associate the information directly. Otherwise we can provide another component like k8sattributes processor that runs on the host and forwards the data and adds container metadata.

Describe alternatives you've considered

No response

Additional context

No response

@h0cheung h0cheung added enhancement New feature or request needs triage New item requiring triage labels Jul 1, 2024
Copy link
Contributor

github-actions bot commented Jul 1, 2024

Pinging code owners:

See Adding Labels via Comments if you do not have permissions to add labels yourself.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request needs triage New item requiring triage processor/resourcedetection Resource detection processor
Projects
None yet
Development

No branches or pull requests

1 participant