Elastic-agent are currently not sending download rate as a float but as a string with unit, while this is fixed on the agent side and for older agent, Fleet server should accept both format.
That PR does that, and return a 400 instead of a 500 when an error parsing meta happen.
Todo
[x] Changelog
This is an automatic backport of pull request #3677 done by Mergify.
Description
Relates https://github.com/elastic/ingest-dev/issues/3446
Elastic-agent are currently not sending download rate as a float but as a string with unit, while this is fixed on the agent side and for older agent, Fleet server should accept both format.
That PR does that, and return a 400 instead of a 500 when an error parsing meta happen.
Todo
This is an automatic backport of pull request #3677 done by Mergify.