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

Detect container id on cgroup v2 #3501

Open
XSAM opened this issue Nov 30, 2022 · 0 comments · May be fixed by #3508
Open

Detect container id on cgroup v2 #3501

XSAM opened this issue Nov 30, 2022 · 0 comments · May be fixed by #3508
Assignees
Labels
enhancement New feature or request

Comments

@XSAM
Copy link
Member

XSAM commented Nov 30, 2022

Problem Statement

The old container id detector currently works on cgroup v1, not cgroup v2. #2418

Proposed Solution

Use the way that How to get docker container ID from within the container with cgroup v2 mentioned to detect container id on cgroup v2 environment.

Prior Art

Additional Context

The related issue on java instrumentation: open-telemetry/opentelemetry-java-instrumentation#6694

@XSAM XSAM added the enhancement New feature or request label Nov 30, 2022
@XSAM XSAM self-assigned this Nov 30, 2022
@XSAM XSAM linked a pull request Dec 2, 2022 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant