diff --git a/packages/apm/agent/input/template.yml.hbs b/packages/apm/agent/input/template.yml.hbs index bff264560a0..a1268af37b6 100644 --- a/packages/apm/agent/input/template.yml.hbs +++ b/packages/apm/agent/input/template.yml.hbs @@ -70,5 +70,6 @@ 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}} diff --git a/packages/apm/changelog.yml b/packages/apm/changelog.yml index 66cf6007e2b..750864778b6 100644 --- a/packages/apm/changelog.yml +++ b/packages/apm/changelog.yml @@ -1,3 +1,8 @@ +- version: 9.1.0-preview-1744129488 + 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/13348 - version: 9.0.0-preview-1738343125 changes: - description: Change default sampling.tail.storage_limit config to 0GB diff --git a/packages/apm/manifest.yml b/packages/apm/manifest.yml index 75e679326cd..5fe7b7a129f 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: 9.0.0-preview-1738343125 +version: 9.1.0-preview-1744129488 description: Monitor, detect, and diagnose complex application performance issues. type: integration categories: ["elastic_stack", "monitoring"] @@ -10,7 +10,7 @@ conditions: capabilities: - apm kibana: - version: ^9.0.0 + version: ^9.1.0 icons: - src: /img/logo_apm.svg title: APM Logo @@ -166,6 +166,9 @@ 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