Skip to content

Commit e3c0695

Browse files
authoredDec 8, 2023
Update changelog and configs for performance presets (#3879)
* Add changelog and update default/reference configs for performance presets * update config templates
1 parent b896f07 commit e3c0695

7 files changed

+22
-0
lines changed
 

‎_meta/config/common.p2.yml.tmpl

+1
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ outputs:
88
api_key: "example-key"
99
#username: "elastic"
1010
#password: "changeme"
11+
preset: balanced
1112

1213

1314

‎_meta/config/common.reference.p2.yml.tmpl

+5
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,11 @@ outputs:
99
# username: "elastic"
1010
# password: "changeme"
1111

12+
# Performance preset for elasticsearch outputs. One of "balanced", "throughput",
13+
# "scale", "latency" and "custom".
14+
# The default if unspecified is "custom".
15+
preset: balanced
16+
1217
inputs:
1318
- type: system/metrics
1419
# Each input must have a unique ID.

‎_meta/config/elastic-agent.docker.yml.tmpl

+1
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ outputs:
77
hosts: '${ELASTICSEARCH_HOSTS:http://elasticsearch:9200}'
88
username: '${ELASTICSEARCH_USERNAME:elastic}'
99
password: '${ELASTICSEARCH_PASSWORD:changeme}'
10+
preset: balanced
1011

1112
inputs:
1213
- type: system/metrics
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
kind: feature
2+
summary: Add performance presets to the Elasticsearch output configuration.
3+
4+
description: Add a "preset" field to Elasticsearch output configurations that applies a set of configuration overrides based on a desired performance priority. Valid values are "balanced", "throughput", "scale", "latency" and "custom". The default if unspecified is "custom".
5+
6+
component: all
7+
pr: https://github.com/elastic/beats/pull/37259
8+
issue: https://github.com/elastic/elastic-agent/issues/3797

‎elastic-agent.docker.yml

+1
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ outputs:
77
hosts: '${ELASTICSEARCH_HOSTS:http://elasticsearch:9200}'
88
username: '${ELASTICSEARCH_USERNAME:elastic}'
99
password: '${ELASTICSEARCH_PASSWORD:changeme}'
10+
preset: balanced
1011

1112
inputs:
1213
- type: system/metrics

‎elastic-agent.reference.yml

+5
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,11 @@ outputs:
1515
# username: "elastic"
1616
# password: "changeme"
1717

18+
# Performance preset for elasticsearch outputs. One of "balanced", "throughput",
19+
# "scale", "latency" and "custom".
20+
# The default if unspecified is "custom".
21+
preset: balanced
22+
1823
inputs:
1924
- type: system/metrics
2025
# Each input must have a unique ID.

‎elastic-agent.yml

+1
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ outputs:
1414
api_key: "example-key"
1515
#username: "elastic"
1616
#password: "changeme"
17+
preset: balanced
1718

1819

1920

0 commit comments

Comments
 (0)
Please sign in to comment.