The agent checkin to fleet collects and reports events as part of the request. events are not used by fleet-server and should not be reported (or collected) in order to reduce checkin body size.
We may be able to remove the fleet reporter https://github.com/elastic/elastic-agent/blob/main/internal/pkg/reporter/fleet/reporter.go entirlely so we also no longer keep any references in memory
The agent checkin to fleet collects and reports events as part of the request. events are not used by fleet-server and should not be reported (or collected) in order to reduce checkin body size.
We may be able to remove the fleet reporter https://github.com/elastic/elastic-agent/blob/main/internal/pkg/reporter/fleet/reporter.go entirlely so we also no longer keep any references in memory