forked from elastic/beats
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Unify default module configurations (elastic#6908)
Since we split module configurations into modules.d folder, we can keep configurations more verbose, so users have a quick reference when opening them for editing. This change unifies configuration files using the followin rules: * Write at least the following settings, in this order: `module`, `metricsets`, `period`, `hosts`. * Default metricsets list shown as it helps to know what's the list, or disable just one. Inline if there is only one metricset, one line per metricset if there is more than one. * Some modules have exceptions and include more definitions, or different defaults. * Comments are allowed (and encouraged), both to explain a setting and to suggest a full configuration. * `enabled` setting is not shown at all, modules are enabled by using `metricbeat modules enable <module name>`. Use comments to suggest settings that are disabled by default.
- Loading branch information
Showing
72 changed files
with
770 additions
and
136 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 |
---|---|---|
@@ -1,2 +1,5 @@ | ||
- module: aerospike | ||
#metricsets: | ||
# - namespace | ||
period: 10s | ||
hosts: ["localhost:3000"] |
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 |
---|---|---|
@@ -1,2 +1,5 @@ | ||
- module: apache | ||
#metricsets: | ||
# - status | ||
period: 10s | ||
hosts: ["http://127.0.0.1"] |
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 |
---|---|---|
@@ -1,7 +1,16 @@ | ||
- module: ceph | ||
metricsets: ["cluster_health", "cluster_status", "monitor_health"] | ||
#metricsets: | ||
# - cluster_health | ||
# - cluster_status | ||
# - monitor_health | ||
period: 10s | ||
hosts: ["localhost:5000"] | ||
|
||
- module: ceph | ||
metricsets: ["cluster_disk", "osd_tree", "pool_disk"] | ||
#metricsets: | ||
# - cluster_disk | ||
# - osd_tree | ||
# - osd_df | ||
# - pool_disk | ||
period: 1m | ||
hosts: ["localhost:5000"] |
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 |
---|---|---|
@@ -1,2 +1,7 @@ | ||
- module: couchbase | ||
#metricsets: | ||
# - bucket | ||
# - cluster | ||
# - node | ||
period: 10s | ||
hosts: ["localhost:8091"] |
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 |
---|---|---|
@@ -1,5 +1,20 @@ | ||
- module: docker | ||
#metricsets: | ||
# - container | ||
# - cpu | ||
# - diskio | ||
# - healthcheck | ||
# - info | ||
# - memory | ||
# - network | ||
period: 10s | ||
hosts: ["unix:///var/run/docker.sock"] | ||
|
||
# Replace dots in labels with `_`. Set to false to keep dots | ||
labels.dedot: true | ||
|
||
# To connect to Docker over TLS you must specify a client and CA certificate. | ||
#ssl: | ||
#certificate_authority: "/etc/pki/root/ca.pem" | ||
#certificate: "/etc/pki/client/cert.pem" | ||
#key: "/etc/pki/client/cert.key" |
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 |
---|---|---|
@@ -1,4 +1,7 @@ | ||
- module: dropwizard | ||
#metricsets: | ||
# - collector | ||
period: 10s | ||
hosts: ["localhost:8080"] | ||
metrics_path: /metrics/metrics | ||
namespace: example |
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 |
---|---|---|
@@ -1,2 +1,6 @@ | ||
- module: elasticsearch | ||
#metricsets: | ||
# - node | ||
# - node_stats | ||
period: 10s | ||
hosts: ["localhost:9200"] |
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 |
---|---|---|
@@ -1,2 +1,7 @@ | ||
- module: etcd | ||
#metricsets: | ||
# - leader | ||
# - self | ||
# - store | ||
period: 10s | ||
hosts: ["localhost:2379"] |
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 |
---|---|---|
@@ -1 +1,9 @@ | ||
- module: graphite | ||
#metricsets: | ||
# - server | ||
#protocol: "udp" | ||
#templates: | ||
# - filter: "test.*.bash.*" # This would match metrics like test.localhost.bash.stats | ||
# namespace: "test" | ||
# template: ".host.shell.metric*" # test.localhost.bash.stats would become metric=stats and tags host=localhost,shell=bash | ||
# delimiter: "_" |
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 |
---|---|---|
@@ -1,2 +1,6 @@ | ||
- module: haproxy | ||
#metricsets: | ||
# - info | ||
# - stat | ||
period: 10s | ||
hosts: ["tcp://127.0.0.1:14567"] |
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 |
---|---|---|
@@ -1,23 +1,27 @@ | ||
- module: jolokia | ||
metricsets: ["jmx"] | ||
#metricsets: ["jmx"] | ||
period: 10s | ||
hosts: ["localhost"] | ||
namespace: "metrics" | ||
#path: "/jolokia/?ignoreErrors=true&canonicalNaming=false" | ||
jmx.mappings: | ||
- mbean: 'java.lang:type=Runtime' | ||
attributes: | ||
- attr: Uptime | ||
field: uptime | ||
- mbean: 'java.lang:type=Memory' | ||
attributes: | ||
- attr: HeapMemoryUsage | ||
field: memory.heap_usage | ||
- attr: NonHeapMemoryUsage | ||
field: memory.non_heap_usage | ||
#- mbean: 'java.lang:type=Runtime' | ||
# attributes: | ||
# - attr: Uptime | ||
# field: uptime | ||
#- mbean: 'java.lang:type=Memory' | ||
# attributes: | ||
# - attr: HeapMemoryUsage | ||
# field: memory.heap_usage | ||
# - attr: NonHeapMemoryUsage | ||
# field: memory.non_heap_usage | ||
# GC Metrics - this depends on what is available on your JVM | ||
# - mbean: 'java.lang:type=GarbageCollector,name=ConcurrentMarkSweep' | ||
# attributes: | ||
# - attr: CollectionTime | ||
# field: gc.cms_collection_time | ||
# - attr: CollectionCount | ||
# field: gc.cms_collection_count | ||
#- mbean: 'java.lang:type=GarbageCollector,name=ConcurrentMarkSweep' | ||
# attributes: | ||
# - attr: CollectionTime | ||
# field: gc.cms_collection_time | ||
# - attr: CollectionCount | ||
# field: gc.cms_collection_count | ||
|
||
jmx.application: | ||
jmx.instance: |
Oops, something went wrong.