In #39735 a status reporter was passed into the Beats object reloader and propagated through to Filebeat inputs via the input V2 interface.
Identify how to propagate the status reporter into Metricbeat metricsets to allow them to report their status to the Elastic Agent when they encounter errors.
Choose a metricset to use as a reference implementation and have it report errors using the control protocol.
In #39735 a status reporter was passed into the Beats object reloader and propagated through to Filebeat inputs via the input V2 interface.
Identify how to propagate the status reporter into Metricbeat metricsets to allow them to report their status to the Elastic Agent when they encounter errors.
Choose a metricset to use as a reference implementation and have it report errors using the control protocol.