diff --git a/packages/apm/agent/input/template.yml.hbs b/packages/apm/agent/input/template.yml.hbs index bff264560a0..f3d2b65b6a0 100644 --- a/packages/apm/agent/input/template.yml.hbs +++ b/packages/apm/agent/input/template.yml.hbs @@ -70,5 +70,7 @@ apm-server: {{#if tail_sampling_interval}} interval: {{tail_sampling_interval}} {{/if}} + ttl: {{tail_sampling_ttl}} policies: {{tail_sampling_policies}} storage_limit: {{tail_sampling_storage_limit}} + discard_on_write_failure: {{tail_sampling_discard_on_write_failure}} diff --git a/packages/apm/changelog.yml b/packages/apm/changelog.yml index 994e46ae304..904af66a3c7 100644 --- a/packages/apm/changelog.yml +++ b/packages/apm/changelog.yml @@ -1,3 +1,11 @@ +- version: 8.19.0-preview-1748425740 + changes: + - description: Add integration policy variable `tail_sampling_ttl` to configure `apm-server.sampling.tail.ttl` + type: enhancement + link: https://github.com/elastic/integrations/pull/14029 + - description: Add integration policy variable `tail_sampling_discard_on_write_failure` to configure `apm-server.sampling.tail.discard_on_write_failure` + type: enhancement + link: https://github.com/elastic/integrations/pull/14029 - version: 8.15.0-preview-1716438434 changes: - description: Remove data streams from integration package diff --git a/packages/apm/manifest.yml b/packages/apm/manifest.yml index 5f53f2a1386..cb5755de1e7 100644 --- a/packages/apm/manifest.yml +++ b/packages/apm/manifest.yml @@ -1,7 +1,7 @@ format_version: 3.1.0 name: apm title: Elastic APM -version: 8.15.0-preview-1716438434 +version: 8.19.0-preview-1748425740 description: Monitor, detect, and diagnose complex application performance issues. type: integration categories: ["elastic_stack", "monitoring"] @@ -10,7 +10,7 @@ conditions: capabilities: - apm kibana: - version: ^8.15.0 + version: ^8.19.0 icons: - src: /img/logo_apm.svg title: APM Logo @@ -166,12 +166,18 @@ policy_templates: - name: tail_sampling_interval type: text default: "1m" + - name: tail_sampling_ttl + type: text + default: "30m" - name: tail_sampling_enabled type: bool default: false - name: tail_sampling_storage_limit type: text default: "3GB" + - name: tail_sampling_discard_on_write_failure + type: bool + default: false template_path: template.yml.hbs owner: type: elastic