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

Diagnostics should include a summary of monitored pods when running on Kubernetes #3642

Open
Tracked by #3640
cmacknz opened this issue Oct 19, 2023 · 1 comment
Open
Tracked by #3640
Labels
Team:Cloudnative-Monitoring Label for the Cloud Native Monitoring team Team:Elastic-Agent Label for the Agent team

Comments

@cmacknz
Copy link
Member

cmacknz commented Oct 19, 2023

The Elastic Agent diagnostics should include a Kubernetes specific report about the number of containers it is monitoring, along with some basic information about those containers. We should include the container image, the resource name, namespace, and resource kind of each container the agent is monitoring.

Kubernetes environments are dynamic and when autodiscover is enabled the set of pods running changes constantly. Our diagnostics bundles need to include a snapshot of the current running containers along with basic information about them.

We should also log the number of monitored containers periodically to give us a way to more easily observe changes in the Kubernetes cluster purely from our own logs. For example, resource spikes in the agent frequently correlate with new deployments in the cluster when autodiscover is enabled. We need a way to see this.

@cmacknz cmacknz added Team:Elastic-Agent Label for the Agent team Team:Cloudnative-Monitoring Label for the Cloud Native Monitoring team labels Oct 19, 2023
@elasticmachine
Copy link
Contributor

Pinging @elastic/elastic-agent (Team:Elastic-Agent)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Team:Cloudnative-Monitoring Label for the Cloud Native Monitoring team Team:Elastic-Agent Label for the Agent team
Projects
None yet
Development

No branches or pull requests

3 participants