-
Notifications
You must be signed in to change notification settings - Fork 42
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
Support health status interface #239
Comments
BeatV2Manager with the new status/health update interfaces is not yet as mature as we'd expected. It's not being used by the "core" beats yet, as described by this issue So it would be risky to touch it for the v8.6.0 release. I'll add more details about this in another comment. For now, I've setup the required information/logic for version compatibility, and also started using V1 of
The current behavior is the same as any other error in cloudbeat: the error about incompatible versions is logged and cloudbeat is restarted by the Agent. But this is only tentative and we should make a decision on it. |
I was able to send a We have two options now: 1. Fail fast: cloudbeat aborts when it is running an incompatible versionPro: It makes doing upgrades to compatible versions "compulsory" in a way, so the user will immediately know that this action needs to be taken. 2. Mark cloudbeat as "degraded" when running incompatible versions but keep goingPro: Doesn't disrupt flow and is more "forward compatible". |
2 seems closer to what we ant to end up with when the v2 health status reports work as expected |
@eyalkraft @yashtewari agreed, let's go with the second option |
Sounds good, PRs have been updated. |
I also think the second approach is better but it might confuse the users.
|
@olegsu In case the specific benchmark wasn't effected, the integration shouldn't require newer version of cloudbeat. I'm not sure where in the integration you decided to include
But ideally it belongs to a policy template and then for KSPM (which didn't change) you can specify And maybe not even include the |
I was referring the template, where the version will be added.
You said it even better, when the benchmark was updated. I think the issue is that it will be updated regardless users knowledge. The only thing that was done from his point of view is to upgrade the Elastic stack, and for some reason now KSPM integration is degraded. |
@olegsu but specific policy templates (KSPM) including their cloudbeat version requirements can remain intact, even if we upgrade the integration package as a whole |
Update after sync with @eyalkraft |
This is not trivial to test on BC as it either requires changing the integration/cloudbeat to custom version.
This was not addressed in a general manner, we report errors on re-configuration issues only. We have two more categories of issues that we might want to address
Update Outcome In Fleet UI the status of the agent is degraded (nothing points to cloudbeat) Cloudbeat does not restart after almost 10 min of the test period
|
Run |
Motivation
Once libbeat is migrated to v2 cloudbeat should support the new health status interface to report detailed health information to the user. Including requiring the user to upgrade.
This information will surfaced in the UI. which is being tracked in .
Definition of done
Out of scope
What is not included in this task
Related tasks/epics
The text was updated successfully, but these errors were encountered: