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

[extension/observer/host] Can't be used inside container #34058

Open
sergeysedoy97 opened this issue Jul 12, 2024 · 7 comments
Open

[extension/observer/host] Can't be used inside container #34058

sergeysedoy97 opened this issue Jul 12, 2024 · 7 comments

Comments

@sergeysedoy97
Copy link

sergeysedoy97 commented Jul 12, 2024

Component(s)

No response

Describe the issue you're reporting

[receiver/hostmetrics] contains special config field root_path and supports gopsutil envs like HOST_PROC

Is there any plan to add the container support for extension/observer/host?

Copy link
Contributor

Pinging code owners for receiver/hostmetrics: @dmitryax @braydonk. See Adding Labels via Comments if you do not have permissions to add labels yourself.

Copy link
Contributor

Pinging code owners for extension/observer/hostobserver: @MovieStoreGuy. See Adding Labels via Comments if you do not have permissions to add labels yourself.

@frzifus
Copy link
Member

frzifus commented Jul 15, 2024

Maybe I am getting this wrong, but the hostmetrics receiver retrieves its data from the host. When using it inside a container, you may want to mount the hostfs as read-only into e.g. /hostfs and use this as root_path.

@sergeysedoy97
Copy link
Author

Maybe I am getting this wrong, but the hostmetrics receiver retrieves its data from the host. When using it inside a container, you may want to mount the hostfs as read-only into e.g. /hostfs and use this as root_path.

yes, receiver/hostmetrics can, but extension/observer/host can't

Copy link
Contributor

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 @open-telemetry/collector-contrib-triagers. If this issue is still relevant, please ping the code owners or leave a comment explaining why it is still relevant. Otherwise, please close it.

Pinging code owners:

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

@atoulme
Copy link
Contributor

atoulme commented Oct 12, 2024

I don't follow. Please clarify your request.

@atoulme atoulme removed the needs triage New item requiring triage label Oct 12, 2024
@github-actions github-actions bot removed the Stale label Oct 12, 2024
Copy link
Contributor

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 @open-telemetry/collector-contrib-triagers. If this issue is still relevant, please ping the code owners or leave a comment explaining why it is still relevant. Otherwise, please close it.

Pinging code owners:

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

@github-actions github-actions bot added the Stale label Dec 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

5 participants