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

[DESIGN][Enhancement][Elastic Agent] Write down Elastic Agent status report structure #79

Closed
BenB196 opened this issue Feb 20, 2022 · 2 comments
Labels
good first issue Good for newcomers Team:Elastic-Agent-Control-Plane Label for the Agent Control Plane team V2-Architecture v8.3.0

Comments

@BenB196
Copy link

BenB196 commented Feb 20, 2022

Describe the enhancement:

When an application/integration is in a CONFIGURING status, the overall health of the agent should be in a CONFIGURING status.

Describe a specific use case for the enhancement or feature:

Currently (tested on 7.17.0), if an application is in the CONFIGURING status, then the overall status of the Agent is HEALTHY

/usr/share/elastic-agent# elastic-agent status
Status: HEALTHY
Message: (no message)
Applications:
  * filebeat               (CONFIGURING)
                           Updating configuration
  * heartbeat              (CONFIGURING)
                           Updating configuration
  * filebeat_monitoring    (HEALTHY)
                           Running
  * metricbeat_monitoring  (HEALTHY)
                           Running

It would be nice, that instead, the over status of the Agent showed as CONFIGURING as well.

Use Case

It would be nice to know when the agent is in a "healthy" state but has not fully transitioned to an actual healthy state.

There are a few reasons why an application could be on a CONFIGURING status, but one interesting one, is if you are using a standalone agent deployment, depending on how badly you mess up the configuring, an application could get stuck in a CONFIGURING status because it can't properly load a new configuration. Since the overall agent health doesn't reflect this status, if you are only checking the overall health, you would never notice this issue unless you're looking for it.

@ph ph added the Team:Elastic-Agent-Control-Plane Label for the Agent Control Plane team label Feb 21, 2022
@elasticmachine
Copy link
Collaborator

Pinging @elastic/elastic-agent-control-plane (Team:Elastic-Agent-Control-Plane)

@jlind23 jlind23 transferred this issue from elastic/beats Mar 7, 2022
@jlind23 jlind23 changed the title [Enhancement][Elastic Agent] Bubble up CONFIGURING Status to Top Level [DESIGN][Enhancement][Elastic Agent] Write down Elastic Agent status report structure Mar 16, 2022
@ph
Copy link
Contributor

ph commented Apr 27, 2022

Actual work in #100 will close this one.

@ph ph closed this as completed Apr 27, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers Team:Elastic-Agent-Control-Plane Label for the Agent Control Plane team V2-Architecture v8.3.0
Projects
None yet
Development

No branches or pull requests

4 participants