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

[agents] Read k8s metadata from the /proc filesystem #27

Closed
2 of 7 tasks
roncohen opened this issue Dec 4, 2018 · 1 comment
Closed
2 of 7 tasks

[agents] Read k8s metadata from the /proc filesystem #27

roncohen opened this issue Dec 4, 2018 · 1 comment

Comments

@roncohen
Copy link

roncohen commented Dec 4, 2018

Similar to #22, it turns out you can in most circumstances read the k8s metadata from inside the container.

This issue follows on the work in #21 and is about reading the data automatically, so users don't need to use the Downward API. If environment variables are set, they should take precedence.

Please see @axw's comment for the implementation details: #21 (comment)

@elastic/apm-agent-devs Please link your issue or PR and then mark the checkbox when the implementation is merged:

@axw
Copy link
Member

axw commented Oct 9, 2019

Closing this as all agents apart from .NET have implemented, and .NET has an issue to track it. In addition, the logic is captured in https://github.com/elastic/apm/blob/master/docs/agent-development.md#containerkubernetes-metadata now.

@axw axw closed this as completed Oct 9, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants