Potential follow up of https://github.com/elastic/apm-server/pull/15159 - Docs: document discard_on_write_failure - Integration (APM): expose the setting via - https://github.com/elastic/integrations/blob/a55e9eecb844d1d9192eb8584b81c687a213ef1b/packages/apm/agent/input/template.yml.hbs#L74 - https://github.com/elastic/integrations/blob/main/packages/apm/manifest.yml ## Changes required This task will be similar to the `sampling.tail.ttl` task in https://github.com/elastic/apm-server/issues/13525 in terms of the changes required