From b0704053f46d2a5e439e35c2820d2c9c0c1dbb12 Mon Sep 17 00:00:00 2001 From: Jaime Soriano Pastor Date: Mon, 16 Dec 2024 12:45:00 +0100 Subject: [PATCH] Adjust version for enabling apm in fleet server --- internal/stack/_static/kibana.yml.tmpl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/internal/stack/_static/kibana.yml.tmpl b/internal/stack/_static/kibana.yml.tmpl index 8fa7acfa2..6020c2592 100644 --- a/internal/stack/_static/kibana.yml.tmpl +++ b/internal/stack/_static/kibana.yml.tmpl @@ -96,18 +96,18 @@ xpack.fleet.agentPolicies: package: name: fleet_server {{ if eq $apm_enabled "true" }} - {{ if not (semverLessThan $version "8.5.0") }} inputs: - type: fleet-server vars: - name: custom value: | + {{ if not (semverLessThan $version "8.8.0") }} server: + {{ end }} instrumentation: enabled: true hosts: ["http://fleet-server:8200"] environment: "dev" - {{ end }} - name: apm-1 package: name: apm