As for this PR https://github.com/elastic/kibana/pull/71009 fleet enables us to specify online, error or degraded state.
We need to send it to fleet based on healthchecks we run and make sure we reset it to ok when issue is transient.
cc @ph @blakerouse
Pinging @elastic/ingest-management (Team:Ingest Management)
I think we should consider this a bug.
@blakerouse does this require a lot of change on our side?
It's like a 1 line change. I would consider it a bug as well.
@blakerouse I think that was fixed in https://github.com/elastic/beats/pull/19857 ?
No this is different. A new top level field of status was added to checkin, which we need to instrument a way to calculate that status. At the moment Agent doesn't compute an overall status for the Agent to send to Fleet.