Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Ensure feature is enabled
  • Loading branch information
jsoriano committed Jul 18, 2024
commit 842cc748374f6a189cb0fd4537704da8ba3ea76a
8 changes: 6 additions & 2 deletions internal/stack/_static/elasticsearch.yml.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -19,17 +19,21 @@ ingest.geoip.downloader.enabled: false
cluster.logsdb.enabled: true
{{- end -}}

{{ if (not (semverLessThan $version "8.15.0-SNAPSHOT")) }}
es.failure_store_feature_flag_enabled: true
{{- end -}}

{{ if semverLessThan $version "8.0.0" }}
script.max_compilations_rate: "use-context"
script.context.template.max_compilations_rate: "unlimited"
script.context.ingest.cache_max_size: 2000
script.context.processor_conditional.cache_max_size: 2000
script.context.template.cache_max_size: 2000
{{ end }}
{{- end -}}

{{ $apm_enabled := fact "apm_enabled" }}
{{ if eq $apm_enabled "true" }}
tracing.apm.enabled: true
tracing.apm.agent.server_url: "http://fleet-server:8200"
tracing.apm.agent.environment: "dev"
{{ end }}
{{- end -}}