-
Notifications
You must be signed in to change notification settings - Fork 4.9k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Module configuration variants (#9118)
* Show colon-delimited names in module listing * Sort module listings so variants show up after defaults * Accept variant names * Update unit tests * Adding CHANGELOG entries * Adding docs for module configuration variants * Renaming method to be more conventional * Using - instead of : as variant delimiter * Adding xpack variant for elasticsearch module * Adding xpack variant for kibana module * Adding unit test for sorting order * Removing flavors for clarity * Fixing CHANGELOG * Fixing duplicate anchor
- Loading branch information
1 parent
928d12e
commit 22c4970
Showing
9 changed files
with
138 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
- module: elasticsearch | ||
metricsets: | ||
- ccr | ||
- cluster_stats | ||
- index | ||
- index_recovery | ||
- index_summary | ||
- ml_job | ||
- node_stats | ||
- shard | ||
period: 10s | ||
hosts: ["http://localhost:9200"] | ||
#username: "user" | ||
#password: "secret" | ||
xpack.enabled: true | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
- module: kibana | ||
metricsets: | ||
- stats | ||
period: 10s | ||
hosts: ["localhost:5601"] | ||
#basepath: "" | ||
#username: "user" | ||
#password: "secret" | ||
xpack.enabled: true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
# Module: elasticsearch | ||
# Docs: https://www.elastic.co/guide/en/beats/metricbeat/master/metricbeat-module-elasticsearch.html | ||
|
||
- module: elasticsearch | ||
metricsets: | ||
- ccr | ||
- cluster_stats | ||
- index | ||
- index_recovery | ||
- index_summary | ||
- ml_job | ||
- node_stats | ||
- shard | ||
period: 10s | ||
hosts: ["http://localhost:9200"] | ||
#username: "user" | ||
#password: "secret" | ||
xpack.enabled: true | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
# Module: kibana | ||
# Docs: https://www.elastic.co/guide/en/beats/metricbeat/master/metricbeat-module-kibana.html | ||
|
||
- module: kibana | ||
metricsets: | ||
- stats | ||
period: 10s | ||
hosts: ["localhost:5601"] | ||
#basepath: "" | ||
#username: "user" | ||
#password: "secret" | ||
xpack.enabled: true |