From a4258900b8fb12fd4e56100f230d0eb4b75149ad Mon Sep 17 00:00:00 2001 From: ruflin Date: Wed, 19 Apr 2017 12:22:40 +0200 Subject: [PATCH] Update metricbeat full config to have all modules disabled Currently modules in the full config were disabled by commenting it out. Unfortunately we were not very consistent in the commenting style and some were missing the comments which enabled some of the modules. Having the configs commented out also meant they are commented out in the documentation as the same config files are used to generate the docs. Only system module has a short config as it is the one enabled by default. For all the other modules I merged removed the short config as we should come up with one as soon as we need it, means it's in the short config. So the full config files for the modules were removed and merged into the short one. This change in the full config will also simplify copy / paste of config options for adding it to the short config. Only thing that has to be changed is the enabled flag. Experimental log message and note are now added to each new metricset by default. --- metricbeat/docs/modules/apache.asciidoc | 2 +- metricbeat/docs/modules/ceph.asciidoc | 10 +- metricbeat/docs/modules/couchbase.asciidoc | 10 +- metricbeat/docs/modules/docker.asciidoc | 10 +- metricbeat/docs/modules/dropwizard.asciidoc | 14 +- .../docs/modules/elasticsearch.asciidoc | 10 +- metricbeat/docs/modules/golang.asciidoc | 18 +- metricbeat/docs/modules/haproxy.asciidoc | 2 +- metricbeat/docs/modules/jolokia.asciidoc | 20 +- metricbeat/docs/modules/kafka.asciidoc | 10 +- metricbeat/docs/modules/kibana.asciidoc | 2 +- metricbeat/docs/modules/kubelet.asciidoc | 10 +- metricbeat/docs/modules/memcached.asciidoc | 2 +- metricbeat/docs/modules/mongodb.asciidoc | 10 +- metricbeat/docs/modules/mysql.asciidoc | 11 +- metricbeat/docs/modules/nginx.asciidoc | 5 +- metricbeat/docs/modules/php_fpm.asciidoc | 12 +- metricbeat/docs/modules/postgresql.asciidoc | 16 +- metricbeat/docs/modules/prometheus.asciidoc | 12 +- metricbeat/docs/modules/redis.asciidoc | 27 +- metricbeat/docs/modules/windows.asciidoc | 10 +- metricbeat/docs/modules/zookeeper.asciidoc | 10 +- metricbeat/metricbeat.full.yml | 230 +++++++++--------- .../module/apache/_meta/config.full.yml | 14 +- metricbeat/module/apache/_meta/config.yml | 2 +- metricbeat/module/ceph/_meta/config.yml | 10 +- metricbeat/module/couchbase/_meta/config.yml | 10 +- metricbeat/module/docker/_meta/config.yml | 10 +- metricbeat/module/dropwizard/_meta/config.yml | 14 +- .../module/elasticsearch/_meta/config.yml | 10 +- metricbeat/module/golang/_meta/config.yml | 18 +- .../module/haproxy/_meta/config.full.yml | 5 - metricbeat/module/haproxy/_meta/config.yml | 2 +- metricbeat/module/jolokia/_meta/config.yml | 20 +- metricbeat/module/kafka/_meta/config.yml | 10 +- metricbeat/module/kibana/_meta/config.yml | 2 +- metricbeat/module/kubelet/_meta/config.yml | 10 +- metricbeat/module/memcached/_meta/config.yml | 2 +- metricbeat/module/mongodb/_meta/config.yml | 10 +- metricbeat/module/mysql/_meta/config.full.yml | 18 -- metricbeat/module/mysql/_meta/config.yml | 11 +- metricbeat/module/nginx/_meta/config.yml | 5 +- metricbeat/module/php_fpm/_meta/config.yml | 12 +- metricbeat/module/postgresql/_meta/config.yml | 16 +- metricbeat/module/prometheus/_meta/config.yml | 12 +- metricbeat/module/redis/_meta/config.full.yml | 30 --- metricbeat/module/redis/_meta/config.yml | 27 +- metricbeat/module/windows/_meta/config.yml | 10 +- metricbeat/module/zookeeper/_meta/config.yml | 10 +- metricbeat/scripts/module/config.yml | 2 +- metricbeat/scripts/module/fields.yml | 2 + .../module/metricset/metricset.go.tmpl | 3 + 52 files changed, 396 insertions(+), 374 deletions(-) delete mode 100644 metricbeat/module/haproxy/_meta/config.full.yml delete mode 100644 metricbeat/module/mysql/_meta/config.full.yml delete mode 100644 metricbeat/module/redis/_meta/config.full.yml diff --git a/metricbeat/docs/modules/apache.asciidoc b/metricbeat/docs/modules/apache.asciidoc index 4043531a06c6..b9ca1e094b54 100644 --- a/metricbeat/docs/modules/apache.asciidoc +++ b/metricbeat/docs/modules/apache.asciidoc @@ -34,7 +34,7 @@ in <>. Here is an example configuration: metricbeat.modules: - module: apache metricsets: ["status"] - enabled: true + enabled: false period: 10s # Apache hosts diff --git a/metricbeat/docs/modules/ceph.asciidoc b/metricbeat/docs/modules/ceph.asciidoc index fcbc1ac9a48b..af41881c1dd4 100644 --- a/metricbeat/docs/modules/ceph.asciidoc +++ b/metricbeat/docs/modules/ceph.asciidoc @@ -20,11 +20,11 @@ in <>. Here is an example configuration: [source,yaml] ---- metricbeat.modules: -#- module: ceph -# metricsets: ["cluster_disk", "cluster_health", "monitor_health", "pool_disk"] -# enabled: true -# period: 10s -# hosts: ["localhost:5000"] +- module: ceph + metricsets: ["cluster_disk", "cluster_health", "monitor_health", "pool_disk"] + enabled: false + period: 10s + hosts: ["localhost:5000"] ---- [float] diff --git a/metricbeat/docs/modules/couchbase.asciidoc b/metricbeat/docs/modules/couchbase.asciidoc index b89ed2f58c28..e6a231b398e7 100644 --- a/metricbeat/docs/modules/couchbase.asciidoc +++ b/metricbeat/docs/modules/couchbase.asciidoc @@ -20,11 +20,11 @@ in <>. Here is an example configuration: [source,yaml] ---- metricbeat.modules: -#- module: couchbase - #metricsets: ["cluster", "node", "bucket"] - #enabled: true - #period: 10s - #hosts: ["localhost:8091"] +- module: couchbase + metricsets: ["bucket", "cluster", "node"] + enabled: false + period: 10s + hosts: ["localhost:8091"] ---- [float] diff --git a/metricbeat/docs/modules/docker.asciidoc b/metricbeat/docs/modules/docker.asciidoc index 88ae48a46e7e..b8043d327125 100644 --- a/metricbeat/docs/modules/docker.asciidoc +++ b/metricbeat/docs/modules/docker.asciidoc @@ -21,11 +21,11 @@ in <>. Here is an example configuration: [source,yaml] ---- metricbeat.modules: -#- module: docker - #metricsets: ["container", "cpu", "diskio", "healthcheck", "info", "memory", "network"] - #hosts: ["unix:///var/run/docker.sock"] - #enabled: true - #period: 10s +- module: docker + metricsets: ["container", "cpu", "diskio", "healthcheck", "info", "memory", "network"] + hosts: ["unix:///var/run/docker.sock"] + enabled: false + period: 10s # To connect to Docker over TLS you must specify a client and CA certificate. #ssl: diff --git a/metricbeat/docs/modules/dropwizard.asciidoc b/metricbeat/docs/modules/dropwizard.asciidoc index eb0ab3f47679..970dbd812065 100644 --- a/metricbeat/docs/modules/dropwizard.asciidoc +++ b/metricbeat/docs/modules/dropwizard.asciidoc @@ -18,13 +18,13 @@ in <>. Here is an example configuration: [source,yaml] ---- metricbeat.modules: -#- module: dropwizard - #metricsets: ["collector"] - #enabled: true - #period: 10s - #hosts: ["localhost:8080"] - #metrics_path: /metrics/metrics - #namespace: example +- module: dropwizard + metricsets: ["collector"] + enabled: false + period: 10s + hosts: ["localhost:8080"] + metrics_path: /metrics/metrics + namespace: example ---- [float] diff --git a/metricbeat/docs/modules/elasticsearch.asciidoc b/metricbeat/docs/modules/elasticsearch.asciidoc index d78b3d0231be..0acc023607da 100644 --- a/metricbeat/docs/modules/elasticsearch.asciidoc +++ b/metricbeat/docs/modules/elasticsearch.asciidoc @@ -17,11 +17,11 @@ in <>. Here is an example configuration: [source,yaml] ---- metricbeat.modules: -#- module: elasticsearch -# metricsets: ["node", "node_stats", "stats"] -# enabled: true -# period: 10s -# hosts: ["localhost:9200"] +- module: elasticsearch + metricsets: ["node", "node_stats", "stats"] + enabled: false + period: 10s + hosts: ["localhost:9200"] ---- diff --git a/metricbeat/docs/modules/golang.asciidoc b/metricbeat/docs/modules/golang.asciidoc index aaa466a03fe3..2a6d741fd006 100644 --- a/metricbeat/docs/modules/golang.asciidoc +++ b/metricbeat/docs/modules/golang.asciidoc @@ -17,15 +17,15 @@ in <>. Here is an example configuration: [source,yaml] ---- metricbeat.modules: -#- module: golang -# metricsets: ["expvar","heap"] -# enabled: true -# period: 10s -# hosts: ["localhost:6060"] -# heap.path: "/debug/vars" -# expvar: -# namespace: "example" -# path: "/debug/vars" +- module: golang + metricsets: ["expvar","heap"] + enabled: false + period: 10s + hosts: ["localhost:6060"] + heap.path: "/debug/vars" + expvar: + namespace: "example" + path: "/debug/vars" ---- [float] diff --git a/metricbeat/docs/modules/haproxy.asciidoc b/metricbeat/docs/modules/haproxy.asciidoc index 14fa204d3900..3ed714f7323f 100644 --- a/metricbeat/docs/modules/haproxy.asciidoc +++ b/metricbeat/docs/modules/haproxy.asciidoc @@ -32,7 +32,7 @@ in <>. Here is an example configuration: metricbeat.modules: - module: haproxy metricsets: ["info", "stat"] - enabled: true + enabled: false period: 10s hosts: ["tcp://127.0.0.1:14567"] ---- diff --git a/metricbeat/docs/modules/jolokia.asciidoc b/metricbeat/docs/modules/jolokia.asciidoc index ea006397f8cd..f68ff302f5d8 100644 --- a/metricbeat/docs/modules/jolokia.asciidoc +++ b/metricbeat/docs/modules/jolokia.asciidoc @@ -20,16 +20,16 @@ in <>. Here is an example configuration: [source,yaml] ---- metricbeat.modules: -#- module: jolokia -# metricsets: ["jmx"] -# enabled: true -# period: 10s -# hosts: ["localhost"] -# namespace: "metrics" -# path: "/jolokia/?ignoreErrors=true&canonicalNaming=false" -# jmx.mapping: -# jmx.application: -# jmx.instance: +- module: jolokia + metricsets: ["jmx"] + enabled: false + period: 10s + hosts: ["localhost"] + namespace: "metrics" + path: "/jolokia/?ignoreErrors=true&canonicalNaming=false" + jmx.mapping: + jmx.application: + jmx.instance: ---- [float] diff --git a/metricbeat/docs/modules/kafka.asciidoc b/metricbeat/docs/modules/kafka.asciidoc index f2a0a9752db3..058a3b444a7b 100644 --- a/metricbeat/docs/modules/kafka.asciidoc +++ b/metricbeat/docs/modules/kafka.asciidoc @@ -20,11 +20,11 @@ in <>. Here is an example configuration: [source,yaml] ---- metricbeat.modules: -#- module: kafka - #metricsets: ["partition"] - #enabled: true - #period: 10s - #hosts: ["localhost:9092"] +- module: kafka + metricsets: ["partition"] + enabled: false + period: 10s + hosts: ["localhost:9092"] #client_id: metricbeat #retries: 3 diff --git a/metricbeat/docs/modules/kibana.asciidoc b/metricbeat/docs/modules/kibana.asciidoc index a7b496925073..2c418f184884 100644 --- a/metricbeat/docs/modules/kibana.asciidoc +++ b/metricbeat/docs/modules/kibana.asciidoc @@ -20,7 +20,7 @@ in <>. Here is an example configuration: metricbeat.modules: - module: kibana metricsets: ["status"] - enabled: true + enabled: false period: 10s hosts: ["localhost:5601"] diff --git a/metricbeat/docs/modules/kubelet.asciidoc b/metricbeat/docs/modules/kubelet.asciidoc index b2ca1a5699c2..1c46584c5930 100644 --- a/metricbeat/docs/modules/kubelet.asciidoc +++ b/metricbeat/docs/modules/kubelet.asciidoc @@ -18,11 +18,11 @@ in <>. Here is an example configuration: [source,yaml] ---- metricbeat.modules: -#- module: kubelet -# metricsets: ["node","container","volume","pod","system"] -# enabled: true -# period: 10s -# hosts: ["localhost:10255"] +- module: kubelet + metricsets: ["node","container","volume","pod","system"] + enabled: false + period: 10s + hosts: ["localhost:10255"] ---- diff --git a/metricbeat/docs/modules/memcached.asciidoc b/metricbeat/docs/modules/memcached.asciidoc index c6abaf02e722..b24dd5b9c7d6 100644 --- a/metricbeat/docs/modules/memcached.asciidoc +++ b/metricbeat/docs/modules/memcached.asciidoc @@ -20,7 +20,7 @@ in <>. Here is an example configuration: metricbeat.modules: - module: memcached metricsets: ["stats"] - enabled: true + enabled: false period: 10s hosts: ["localhost:11211"] diff --git a/metricbeat/docs/modules/mongodb.asciidoc b/metricbeat/docs/modules/mongodb.asciidoc index 8b9b5f8d90ec..7d625416ceb5 100644 --- a/metricbeat/docs/modules/mongodb.asciidoc +++ b/metricbeat/docs/modules/mongodb.asciidoc @@ -63,17 +63,17 @@ in <>. Here is an example configuration: [source,yaml] ---- metricbeat.modules: -#- module: mongodb - #metricsets: ["dbstats", "status"] - #enabled: true - #period: 10s +- module: mongodb + metricsets: ["dbstats", "status"] + enabled: false + period: 10s # The hosts must be passed as MongoDB URLs in the format: # [mongodb://][user:pass@]host[:port]. # The username and password can also be set using the respective configuration # options. The credentials in the URL take precedence over the username and # password configuration options. - #hosts: ["localhost:27017"] + hosts: ["localhost:27017"] # Username to use when connecting to MongoDB. Empty by default. #username: user diff --git a/metricbeat/docs/modules/mysql.asciidoc b/metricbeat/docs/modules/mysql.asciidoc index 26a1233c7831..e84702b1863f 100644 --- a/metricbeat/docs/modules/mysql.asciidoc +++ b/metricbeat/docs/modules/mysql.asciidoc @@ -48,13 +48,22 @@ in <>. Here is an example configuration: metricbeat.modules: - module: mysql metricsets: ["status"] - enabled: true + enabled: false period: 10s # Host DSN should be defined as "user:pass@tcp(127.0.0.1:3306)/" # The username and password can either be set in the DSN or using the username # and password config options. Those specified in the DSN take precedence. hosts: ["root:secret@tcp(127.0.0.1:3306)/"] + + # Username of hosts. Empty by default. + #username: root + + # Password of hosts. Empty by default. + #password: secret + + # By setting raw to true, all raw fields from the status metricset will be added to the event. + #raw: false ---- [float] diff --git a/metricbeat/docs/modules/nginx.asciidoc b/metricbeat/docs/modules/nginx.asciidoc index e420b3a617ee..1c280f4386aa 100644 --- a/metricbeat/docs/modules/nginx.asciidoc +++ b/metricbeat/docs/modules/nginx.asciidoc @@ -26,11 +26,14 @@ in <>. Here is an example configuration: metricbeat.modules: - module: nginx metricsets: ["stubstatus"] - enabled: true + enabled: false period: 10s # Nginx hosts hosts: ["http://127.0.0.1"] + + # Path to server status. Default server-status + #server_status_path: "server-status" ---- [float] diff --git a/metricbeat/docs/modules/php_fpm.asciidoc b/metricbeat/docs/modules/php_fpm.asciidoc index 61d566e21653..40fce8314e01 100644 --- a/metricbeat/docs/modules/php_fpm.asciidoc +++ b/metricbeat/docs/modules/php_fpm.asciidoc @@ -44,12 +44,12 @@ in <>. Here is an example configuration: [source,yaml] ---- metricbeat.modules: -#- module: php_fpm - #metricsets: ["pool"] - #enabled: true - #period: 10s - #status_path: "/status" - #hosts: ["localhost:8080"] +- module: php_fpm + metricsets: ["pool"] + enabled: false + period: 10s + status_path: "/status" + hosts: ["localhost:8080"] ---- [float] diff --git a/metricbeat/docs/modules/postgresql.asciidoc b/metricbeat/docs/modules/postgresql.asciidoc index 21d2fd334b6a..1c8876ff04c8 100644 --- a/metricbeat/docs/modules/postgresql.asciidoc +++ b/metricbeat/docs/modules/postgresql.asciidoc @@ -63,25 +63,25 @@ in <>. Here is an example configuration: [source,yaml] ---- metricbeat.modules: -#- module: postgresql - #metricsets: +- module: postgresql + metricsets: # Stats about every PostgreSQL database - #- database + - database # Stats about the background writer process's activity - #- bgwriter + - bgwriter # Stats about every PostgreSQL process - #- activity + - activity - #enabled: true - #period: 10s + enabled: false + period: 10s # The host must be passed as PostgreSQL URL. Example: # postgres://localhost:5432?sslmode=disable # The available parameters are documented here: # https://godoc.org/github.com/lib/pq#hdr-Connection_String_Parameters - #hosts: ["postgres://localhost:5432"] + hosts: ["postgres://localhost:5432"] # Username to use when connecting to PostgreSQL. Empty by default. #username: user diff --git a/metricbeat/docs/modules/prometheus.asciidoc b/metricbeat/docs/modules/prometheus.asciidoc index d79b9c816e5d..b25d9256a824 100644 --- a/metricbeat/docs/modules/prometheus.asciidoc +++ b/metricbeat/docs/modules/prometheus.asciidoc @@ -20,12 +20,12 @@ in <>. Here is an example configuration: [source,yaml] ---- metricbeat.modules: -#- module: prometheus - #metricsets: ["stats"] - #enabled: true - #period: 10s - #hosts: ["localhost:9090"] - #metrics_path: /metrics +- module: prometheus + metricsets: ["stats"] + enabled: false + period: 10s + hosts: ["localhost:9090"] + metrics_path: /metrics #namespace: example ---- diff --git a/metricbeat/docs/modules/redis.asciidoc b/metricbeat/docs/modules/redis.asciidoc index 73976145148e..5c3923d4c0a4 100644 --- a/metricbeat/docs/modules/redis.asciidoc +++ b/metricbeat/docs/modules/redis.asciidoc @@ -41,12 +41,35 @@ in <>. Here is an example configuration: ---- metricbeat.modules: - module: redis - metricsets: ["info"] - enabled: true + metricsets: ["info", "keyspace"] + enabled: false period: 10s # Redis hosts hosts: ["127.0.0.1:6379"] + + # Timeout after which time a metricset should return an error + # Timeout is by default defined as period, as a fetch of a metricset + # should never take longer then period, as otherwise calls can pile up. + #timeout: 1s + + # Optional fields to be added to each event + #fields: + # datacenter: west + + # Network type to be used for redis connection. Default: tcp + #network: tcp + + # Max number of concurrent connections. Default: 10 + #maxconn: 10 + + # Filters can be used to reduce the number of fields sent. + #filters: + # - include_fields: + # fields: ["stats"] + + # Redis AUTH password. Empty by default. + #password: foobared ---- [float] diff --git a/metricbeat/docs/modules/windows.asciidoc b/metricbeat/docs/modules/windows.asciidoc index 11fd35069c28..97869af3f978 100644 --- a/metricbeat/docs/modules/windows.asciidoc +++ b/metricbeat/docs/modules/windows.asciidoc @@ -17,11 +17,11 @@ in <>. Here is an example configuration: [source,yaml] ---- metricbeat.modules: -#- module: windows -# metricsets: ["perfmon"] -# enabled: true -# period: 10s -# perfmon.counters: +- module: windows + metricsets: ["perfmon"] + enabled: false + period: 10s + perfmon.counters: ---- [float] diff --git a/metricbeat/docs/modules/zookeeper.asciidoc b/metricbeat/docs/modules/zookeeper.asciidoc index abf783cb3638..8d861ea52d2c 100644 --- a/metricbeat/docs/modules/zookeeper.asciidoc +++ b/metricbeat/docs/modules/zookeeper.asciidoc @@ -23,11 +23,11 @@ in <>. Here is an example configuration: [source,yaml] ---- metricbeat.modules: -#- module: zookeeper - #metricsets: ["mntr"] - #enabled: true - #period: 10s - #hosts: ["localhost:2181"] +- module: zookeeper + metricsets: ["mntr"] + enabled: false + period: 10s + hosts: ["localhost:2181"] ---- [float] diff --git a/metricbeat/metricbeat.full.yml b/metricbeat/metricbeat.full.yml index 48f951caf488..3d3db18945a3 100644 --- a/metricbeat/metricbeat.full.yml +++ b/metricbeat/metricbeat.full.yml @@ -80,43 +80,43 @@ metricbeat.modules: #socket.reverse_lookup.failure_ttl: 60s #------------------------------- Apache Module ------------------------------- -#- module: apache - #metricsets: ["status"] - #enabled: true - #period: 10s +- module: apache + metricsets: ["status"] + enabled: false + period: 10s # Apache hosts - #hosts: ["http://127.0.0.1"] + hosts: ["http://127.0.0.1"] # Path to server status. Default server-status #server_status_path: "server-status" # Username of hosts. Empty by default - #username: test + #username: username # Password of hosts. Empty by default - #password: test123 + #password: password #-------------------------------- ceph Module -------------------------------- -#- module: ceph -# metricsets: ["cluster_disk", "cluster_health", "monitor_health", "pool_disk"] -# enabled: true -# period: 10s -# hosts: ["localhost:5000"] +- module: ceph + metricsets: ["cluster_disk", "cluster_health", "monitor_health", "pool_disk"] + enabled: false + period: 10s + hosts: ["localhost:5000"] #------------------------------ Couchbase Module ----------------------------- -#- module: couchbase - #metricsets: ["cluster", "node", "bucket"] - #enabled: true - #period: 10s - #hosts: ["localhost:8091"] +- module: couchbase + metricsets: ["bucket", "cluster", "node"] + enabled: false + period: 10s + hosts: ["localhost:8091"] #------------------------------- Docker Module ------------------------------- -#- module: docker - #metricsets: ["container", "cpu", "diskio", "healthcheck", "info", "memory", "network"] - #hosts: ["unix:///var/run/docker.sock"] - #enabled: true - #period: 10s +- module: docker + metricsets: ["container", "cpu", "diskio", "healthcheck", "info", "memory", "network"] + hosts: ["unix:///var/run/docker.sock"] + enabled: false + period: 10s # To connect to Docker over TLS you must specify a client and CA certificate. #ssl: @@ -125,58 +125,58 @@ metricbeat.modules: #key: "/etc/pki/client/cert.key" #----------------------------- Dropwizard Module ----------------------------- -#- module: dropwizard - #metricsets: ["collector"] - #enabled: true - #period: 10s - #hosts: ["localhost:8080"] - #metrics_path: /metrics/metrics - #namespace: example +- module: dropwizard + metricsets: ["collector"] + enabled: false + period: 10s + hosts: ["localhost:8080"] + metrics_path: /metrics/metrics + namespace: example #---------------------------- elasticsearch Module --------------------------- -#- module: elasticsearch -# metricsets: ["node", "node_stats", "stats"] -# enabled: true -# period: 10s -# hosts: ["localhost:9200"] +- module: elasticsearch + metricsets: ["node", "node_stats", "stats"] + enabled: false + period: 10s + hosts: ["localhost:9200"] #------------------------------- golang Module ------------------------------- -#- module: golang -# metricsets: ["expvar","heap"] -# enabled: true -# period: 10s -# hosts: ["localhost:6060"] -# heap.path: "/debug/vars" -# expvar: -# namespace: "example" -# path: "/debug/vars" +- module: golang + metricsets: ["expvar","heap"] + enabled: false + period: 10s + hosts: ["localhost:6060"] + heap.path: "/debug/vars" + expvar: + namespace: "example" + path: "/debug/vars" #------------------------------- HAProxy Module ------------------------------ -#- module: haproxy - #metricsets: ["info", "stat"] - #enabled: true - #period: 10s - #hosts: ["tcp://127.0.0.1:14567"] +- module: haproxy + metricsets: ["info", "stat"] + enabled: false + period: 10s + hosts: ["tcp://127.0.0.1:14567"] #------------------------------- Jolokia Module ------------------------------ -#- module: jolokia -# metricsets: ["jmx"] -# enabled: true -# period: 10s -# hosts: ["localhost"] -# namespace: "metrics" -# path: "/jolokia/?ignoreErrors=true&canonicalNaming=false" -# jmx.mapping: -# jmx.application: -# jmx.instance: +- module: jolokia + metricsets: ["jmx"] + enabled: false + period: 10s + hosts: ["localhost"] + namespace: "metrics" + path: "/jolokia/?ignoreErrors=true&canonicalNaming=false" + jmx.mapping: + jmx.application: + jmx.instance: #-------------------------------- kafka Module ------------------------------- -#- module: kafka - #metricsets: ["partition"] - #enabled: true - #period: 10s - #hosts: ["localhost:9092"] +- module: kafka + metricsets: ["partition"] + enabled: false + period: 10s + hosts: ["localhost:9092"] #client_id: metricbeat #retries: 3 @@ -202,39 +202,39 @@ metricbeat.modules: #------------------------------- kibana Module ------------------------------- - module: kibana metricsets: ["status"] - enabled: true + enabled: false period: 10s hosts: ["localhost:5601"] #------------------------------- kubelet Module ------------------------------ -#- module: kubelet -# metricsets: ["node","container","volume","pod","system"] -# enabled: true -# period: 10s -# hosts: ["localhost:10255"] +- module: kubelet + metricsets: ["node","container","volume","pod","system"] + enabled: false + period: 10s + hosts: ["localhost:10255"] #------------------------------ memcached Module ----------------------------- - module: memcached metricsets: ["stats"] - enabled: true + enabled: false period: 10s hosts: ["localhost:11211"] #------------------------------- MongoDB Module ------------------------------ -#- module: mongodb - #metricsets: ["dbstats", "status"] - #enabled: true - #period: 10s +- module: mongodb + metricsets: ["dbstats", "status"] + enabled: false + period: 10s # The hosts must be passed as MongoDB URLs in the format: # [mongodb://][user:pass@]host[:port]. # The username and password can also be set using the respective configuration # options. The credentials in the URL take precedence over the username and # password configuration options. - #hosts: ["localhost:27017"] + hosts: ["localhost:27017"] # Username to use when connecting to MongoDB. Empty by default. #username: user @@ -243,15 +243,15 @@ metricbeat.modules: #password: pass #-------------------------------- MySQL Module ------------------------------- -#- module: mysql - #metricsets: ["status"] - #enabled: true - #period: 10s +- module: mysql + metricsets: ["status"] + enabled: false + period: 10s # Host DSN should be defined as "user:pass@tcp(127.0.0.1:3306)/" # The username and password can either be set in the DSN or using the username # and password config options. Those specified in the DSN take precedence. - #hosts: ["root:secret@tcp(127.0.0.1:3306)/"] + hosts: ["root:secret@tcp(127.0.0.1:3306)/"] # Username of hosts. Empty by default. #username: root @@ -275,33 +275,33 @@ metricbeat.modules: #server_status_path: "server-status" #------------------------------- php_fpm Module ------------------------------ -#- module: php_fpm - #metricsets: ["pool"] - #enabled: true - #period: 10s - #status_path: "/status" - #hosts: ["localhost:8080"] +- module: php_fpm + metricsets: ["pool"] + enabled: false + period: 10s + status_path: "/status" + hosts: ["localhost:8080"] #----------------------------- PostgreSQL Module ----------------------------- -#- module: postgresql - #metricsets: +- module: postgresql + metricsets: # Stats about every PostgreSQL database - #- database + - database # Stats about the background writer process's activity - #- bgwriter + - bgwriter # Stats about every PostgreSQL process - #- activity + - activity - #enabled: true - #period: 10s + enabled: false + period: 10s # The host must be passed as PostgreSQL URL. Example: # postgres://localhost:5432?sslmode=disable # The available parameters are documented here: # https://godoc.org/github.com/lib/pq#hdr-Connection_String_Parameters - #hosts: ["postgres://localhost:5432"] + hosts: ["postgres://localhost:5432"] # Username to use when connecting to PostgreSQL. Empty by default. #username: user @@ -311,22 +311,22 @@ metricbeat.modules: #----------------------------- Prometheus Module ----------------------------- -#- module: prometheus - #metricsets: ["stats"] - #enabled: true - #period: 10s - #hosts: ["localhost:9090"] - #metrics_path: /metrics +- module: prometheus + metricsets: ["stats"] + enabled: false + period: 10s + hosts: ["localhost:9090"] + metrics_path: /metrics #namespace: example #-------------------------------- Redis Module ------------------------------- -#- module: redis - #metricsets: ["info", "keyspace"] - #enabled: true - #period: 10s +- module: redis + metricsets: ["info", "keyspace"] + enabled: false + period: 10s # Redis hosts - #hosts: ["127.0.0.1:6379"] + hosts: ["127.0.0.1:6379"] # Timeout after which time a metricset should return an error # Timeout is by default defined as period, as a fetch of a metricset @@ -352,18 +352,18 @@ metricbeat.modules: #password: foobared #------------------------------- Windows Module ------------------------------ -#- module: windows -# metricsets: ["perfmon"] -# enabled: true -# period: 10s -# perfmon.counters: +- module: windows + metricsets: ["perfmon"] + enabled: false + period: 10s + perfmon.counters: #------------------------------ ZooKeeper Module ----------------------------- -#- module: zookeeper - #metricsets: ["mntr"] - #enabled: true - #period: 10s - #hosts: ["localhost:2181"] +- module: zookeeper + metricsets: ["mntr"] + enabled: false + period: 10s + hosts: ["localhost:2181"] diff --git a/metricbeat/module/apache/_meta/config.full.yml b/metricbeat/module/apache/_meta/config.full.yml index 843065a29247..40a9ccfe14ce 100644 --- a/metricbeat/module/apache/_meta/config.full.yml +++ b/metricbeat/module/apache/_meta/config.full.yml @@ -1,16 +1,16 @@ -#- module: apache - #metricsets: ["status"] - #enabled: true - #period: 10s +- module: apache + metricsets: ["status"] + enabled: false + period: 10s # Apache hosts - #hosts: ["http://127.0.0.1"] + hosts: ["http://127.0.0.1"] # Path to server status. Default server-status #server_status_path: "server-status" # Username of hosts. Empty by default - #username: test + #username: username # Password of hosts. Empty by default - #password: test123 + #password: password diff --git a/metricbeat/module/apache/_meta/config.yml b/metricbeat/module/apache/_meta/config.yml index 3fdfae58a559..72ea8610b7e3 100644 --- a/metricbeat/module/apache/_meta/config.yml +++ b/metricbeat/module/apache/_meta/config.yml @@ -1,6 +1,6 @@ - module: apache metricsets: ["status"] - enabled: true + enabled: false period: 10s # Apache hosts diff --git a/metricbeat/module/ceph/_meta/config.yml b/metricbeat/module/ceph/_meta/config.yml index 408e5876bf5c..c8ae607c4a04 100644 --- a/metricbeat/module/ceph/_meta/config.yml +++ b/metricbeat/module/ceph/_meta/config.yml @@ -1,5 +1,5 @@ -#- module: ceph -# metricsets: ["cluster_disk", "cluster_health", "monitor_health", "pool_disk"] -# enabled: true -# period: 10s -# hosts: ["localhost:5000"] +- module: ceph + metricsets: ["cluster_disk", "cluster_health", "monitor_health", "pool_disk"] + enabled: false + period: 10s + hosts: ["localhost:5000"] diff --git a/metricbeat/module/couchbase/_meta/config.yml b/metricbeat/module/couchbase/_meta/config.yml index c6bb0df5ec4d..dda1bb4731b4 100644 --- a/metricbeat/module/couchbase/_meta/config.yml +++ b/metricbeat/module/couchbase/_meta/config.yml @@ -1,5 +1,5 @@ -#- module: couchbase - #metricsets: ["cluster", "node", "bucket"] - #enabled: true - #period: 10s - #hosts: ["localhost:8091"] +- module: couchbase + metricsets: ["bucket", "cluster", "node"] + enabled: false + period: 10s + hosts: ["localhost:8091"] diff --git a/metricbeat/module/docker/_meta/config.yml b/metricbeat/module/docker/_meta/config.yml index f2440a78afdf..809b867afa35 100644 --- a/metricbeat/module/docker/_meta/config.yml +++ b/metricbeat/module/docker/_meta/config.yml @@ -1,8 +1,8 @@ -#- module: docker - #metricsets: ["container", "cpu", "diskio", "healthcheck", "info", "memory", "network"] - #hosts: ["unix:///var/run/docker.sock"] - #enabled: true - #period: 10s +- module: docker + metricsets: ["container", "cpu", "diskio", "healthcheck", "info", "memory", "network"] + hosts: ["unix:///var/run/docker.sock"] + enabled: false + period: 10s # To connect to Docker over TLS you must specify a client and CA certificate. #ssl: diff --git a/metricbeat/module/dropwizard/_meta/config.yml b/metricbeat/module/dropwizard/_meta/config.yml index 9963d2ddc057..adf7ff28f10a 100644 --- a/metricbeat/module/dropwizard/_meta/config.yml +++ b/metricbeat/module/dropwizard/_meta/config.yml @@ -1,7 +1,7 @@ -#- module: dropwizard - #metricsets: ["collector"] - #enabled: true - #period: 10s - #hosts: ["localhost:8080"] - #metrics_path: /metrics/metrics - #namespace: example +- module: dropwizard + metricsets: ["collector"] + enabled: false + period: 10s + hosts: ["localhost:8080"] + metrics_path: /metrics/metrics + namespace: example diff --git a/metricbeat/module/elasticsearch/_meta/config.yml b/metricbeat/module/elasticsearch/_meta/config.yml index 7c8738c7515c..ae25a0053db7 100644 --- a/metricbeat/module/elasticsearch/_meta/config.yml +++ b/metricbeat/module/elasticsearch/_meta/config.yml @@ -1,6 +1,6 @@ -#- module: elasticsearch -# metricsets: ["node", "node_stats", "stats"] -# enabled: true -# period: 10s -# hosts: ["localhost:9200"] +- module: elasticsearch + metricsets: ["node", "node_stats", "stats"] + enabled: false + period: 10s + hosts: ["localhost:9200"] diff --git a/metricbeat/module/golang/_meta/config.yml b/metricbeat/module/golang/_meta/config.yml index 4205f1d153ae..440b9e780555 100644 --- a/metricbeat/module/golang/_meta/config.yml +++ b/metricbeat/module/golang/_meta/config.yml @@ -1,9 +1,9 @@ -#- module: golang -# metricsets: ["expvar","heap"] -# enabled: true -# period: 10s -# hosts: ["localhost:6060"] -# heap.path: "/debug/vars" -# expvar: -# namespace: "example" -# path: "/debug/vars" +- module: golang + metricsets: ["expvar","heap"] + enabled: false + period: 10s + hosts: ["localhost:6060"] + heap.path: "/debug/vars" + expvar: + namespace: "example" + path: "/debug/vars" diff --git a/metricbeat/module/haproxy/_meta/config.full.yml b/metricbeat/module/haproxy/_meta/config.full.yml deleted file mode 100644 index 4dd6095c5896..000000000000 --- a/metricbeat/module/haproxy/_meta/config.full.yml +++ /dev/null @@ -1,5 +0,0 @@ -#- module: haproxy - #metricsets: ["info", "stat"] - #enabled: true - #period: 10s - #hosts: ["tcp://127.0.0.1:14567"] diff --git a/metricbeat/module/haproxy/_meta/config.yml b/metricbeat/module/haproxy/_meta/config.yml index 7c25a8a88cc1..fcee8d3b8fe9 100644 --- a/metricbeat/module/haproxy/_meta/config.yml +++ b/metricbeat/module/haproxy/_meta/config.yml @@ -1,5 +1,5 @@ - module: haproxy metricsets: ["info", "stat"] - enabled: true + enabled: false period: 10s hosts: ["tcp://127.0.0.1:14567"] diff --git a/metricbeat/module/jolokia/_meta/config.yml b/metricbeat/module/jolokia/_meta/config.yml index 8658d1f282b7..b7bd87fd3ad4 100644 --- a/metricbeat/module/jolokia/_meta/config.yml +++ b/metricbeat/module/jolokia/_meta/config.yml @@ -1,10 +1,10 @@ -#- module: jolokia -# metricsets: ["jmx"] -# enabled: true -# period: 10s -# hosts: ["localhost"] -# namespace: "metrics" -# path: "/jolokia/?ignoreErrors=true&canonicalNaming=false" -# jmx.mapping: -# jmx.application: -# jmx.instance: +- module: jolokia + metricsets: ["jmx"] + enabled: false + period: 10s + hosts: ["localhost"] + namespace: "metrics" + path: "/jolokia/?ignoreErrors=true&canonicalNaming=false" + jmx.mapping: + jmx.application: + jmx.instance: diff --git a/metricbeat/module/kafka/_meta/config.yml b/metricbeat/module/kafka/_meta/config.yml index 025c1f4aed6f..f569f71d7d80 100644 --- a/metricbeat/module/kafka/_meta/config.yml +++ b/metricbeat/module/kafka/_meta/config.yml @@ -1,8 +1,8 @@ -#- module: kafka - #metricsets: ["partition"] - #enabled: true - #period: 10s - #hosts: ["localhost:9092"] +- module: kafka + metricsets: ["partition"] + enabled: false + period: 10s + hosts: ["localhost:9092"] #client_id: metricbeat #retries: 3 diff --git a/metricbeat/module/kibana/_meta/config.yml b/metricbeat/module/kibana/_meta/config.yml index 464773ae911e..52a838ec4b95 100644 --- a/metricbeat/module/kibana/_meta/config.yml +++ b/metricbeat/module/kibana/_meta/config.yml @@ -1,6 +1,6 @@ - module: kibana metricsets: ["status"] - enabled: true + enabled: false period: 10s hosts: ["localhost:5601"] diff --git a/metricbeat/module/kubelet/_meta/config.yml b/metricbeat/module/kubelet/_meta/config.yml index 17d7fb3c86d2..79edf380a37d 100644 --- a/metricbeat/module/kubelet/_meta/config.yml +++ b/metricbeat/module/kubelet/_meta/config.yml @@ -1,6 +1,6 @@ -#- module: kubelet -# metricsets: ["node","container","volume","pod","system"] -# enabled: true -# period: 10s -# hosts: ["localhost:10255"] +- module: kubelet + metricsets: ["node","container","volume","pod","system"] + enabled: false + period: 10s + hosts: ["localhost:10255"] diff --git a/metricbeat/module/memcached/_meta/config.yml b/metricbeat/module/memcached/_meta/config.yml index 85419cd612ef..85632bddb583 100644 --- a/metricbeat/module/memcached/_meta/config.yml +++ b/metricbeat/module/memcached/_meta/config.yml @@ -1,6 +1,6 @@ - module: memcached metricsets: ["stats"] - enabled: true + enabled: false period: 10s hosts: ["localhost:11211"] diff --git a/metricbeat/module/mongodb/_meta/config.yml b/metricbeat/module/mongodb/_meta/config.yml index 41ec65ca96b4..5eb0d5994114 100644 --- a/metricbeat/module/mongodb/_meta/config.yml +++ b/metricbeat/module/mongodb/_meta/config.yml @@ -1,14 +1,14 @@ -#- module: mongodb - #metricsets: ["dbstats", "status"] - #enabled: true - #period: 10s +- module: mongodb + metricsets: ["dbstats", "status"] + enabled: false + period: 10s # The hosts must be passed as MongoDB URLs in the format: # [mongodb://][user:pass@]host[:port]. # The username and password can also be set using the respective configuration # options. The credentials in the URL take precedence over the username and # password configuration options. - #hosts: ["localhost:27017"] + hosts: ["localhost:27017"] # Username to use when connecting to MongoDB. Empty by default. #username: user diff --git a/metricbeat/module/mysql/_meta/config.full.yml b/metricbeat/module/mysql/_meta/config.full.yml deleted file mode 100644 index 756037c96c30..000000000000 --- a/metricbeat/module/mysql/_meta/config.full.yml +++ /dev/null @@ -1,18 +0,0 @@ -#- module: mysql - #metricsets: ["status"] - #enabled: true - #period: 10s - - # Host DSN should be defined as "user:pass@tcp(127.0.0.1:3306)/" - # The username and password can either be set in the DSN or using the username - # and password config options. Those specified in the DSN take precedence. - #hosts: ["root:secret@tcp(127.0.0.1:3306)/"] - - # Username of hosts. Empty by default. - #username: root - - # Password of hosts. Empty by default. - #password: secret - - # By setting raw to true, all raw fields from the status metricset will be added to the event. - #raw: false diff --git a/metricbeat/module/mysql/_meta/config.yml b/metricbeat/module/mysql/_meta/config.yml index 860bbc617563..9fa5f01116da 100644 --- a/metricbeat/module/mysql/_meta/config.yml +++ b/metricbeat/module/mysql/_meta/config.yml @@ -1,9 +1,18 @@ - module: mysql metricsets: ["status"] - enabled: true + enabled: false period: 10s # Host DSN should be defined as "user:pass@tcp(127.0.0.1:3306)/" # The username and password can either be set in the DSN or using the username # and password config options. Those specified in the DSN take precedence. hosts: ["root:secret@tcp(127.0.0.1:3306)/"] + + # Username of hosts. Empty by default. + #username: root + + # Password of hosts. Empty by default. + #password: secret + + # By setting raw to true, all raw fields from the status metricset will be added to the event. + #raw: false diff --git a/metricbeat/module/nginx/_meta/config.yml b/metricbeat/module/nginx/_meta/config.yml index 865c8faad973..e9bb1c84e8ba 100644 --- a/metricbeat/module/nginx/_meta/config.yml +++ b/metricbeat/module/nginx/_meta/config.yml @@ -1,7 +1,10 @@ - module: nginx metricsets: ["stubstatus"] - enabled: true + enabled: false period: 10s # Nginx hosts hosts: ["http://127.0.0.1"] + + # Path to server status. Default server-status + #server_status_path: "server-status" diff --git a/metricbeat/module/php_fpm/_meta/config.yml b/metricbeat/module/php_fpm/_meta/config.yml index 89527a864c42..e4cdf3928661 100644 --- a/metricbeat/module/php_fpm/_meta/config.yml +++ b/metricbeat/module/php_fpm/_meta/config.yml @@ -1,6 +1,6 @@ -#- module: php_fpm - #metricsets: ["pool"] - #enabled: true - #period: 10s - #status_path: "/status" - #hosts: ["localhost:8080"] +- module: php_fpm + metricsets: ["pool"] + enabled: false + period: 10s + status_path: "/status" + hosts: ["localhost:8080"] diff --git a/metricbeat/module/postgresql/_meta/config.yml b/metricbeat/module/postgresql/_meta/config.yml index f168f7b24a84..911b029a5c3e 100644 --- a/metricbeat/module/postgresql/_meta/config.yml +++ b/metricbeat/module/postgresql/_meta/config.yml @@ -1,22 +1,22 @@ -#- module: postgresql - #metricsets: +- module: postgresql + metricsets: # Stats about every PostgreSQL database - #- database + - database # Stats about the background writer process's activity - #- bgwriter + - bgwriter # Stats about every PostgreSQL process - #- activity + - activity - #enabled: true - #period: 10s + enabled: false + period: 10s # The host must be passed as PostgreSQL URL. Example: # postgres://localhost:5432?sslmode=disable # The available parameters are documented here: # https://godoc.org/github.com/lib/pq#hdr-Connection_String_Parameters - #hosts: ["postgres://localhost:5432"] + hosts: ["postgres://localhost:5432"] # Username to use when connecting to PostgreSQL. Empty by default. #username: user diff --git a/metricbeat/module/prometheus/_meta/config.yml b/metricbeat/module/prometheus/_meta/config.yml index 570b96e956e8..084dc2d00b8a 100644 --- a/metricbeat/module/prometheus/_meta/config.yml +++ b/metricbeat/module/prometheus/_meta/config.yml @@ -1,7 +1,7 @@ -#- module: prometheus - #metricsets: ["stats"] - #enabled: true - #period: 10s - #hosts: ["localhost:9090"] - #metrics_path: /metrics +- module: prometheus + metricsets: ["stats"] + enabled: false + period: 10s + hosts: ["localhost:9090"] + metrics_path: /metrics #namespace: example diff --git a/metricbeat/module/redis/_meta/config.full.yml b/metricbeat/module/redis/_meta/config.full.yml deleted file mode 100644 index b221db7e7fec..000000000000 --- a/metricbeat/module/redis/_meta/config.full.yml +++ /dev/null @@ -1,30 +0,0 @@ -#- module: redis - #metricsets: ["info", "keyspace"] - #enabled: true - #period: 10s - - # Redis hosts - #hosts: ["127.0.0.1:6379"] - - # Timeout after which time a metricset should return an error - # Timeout is by default defined as period, as a fetch of a metricset - # should never take longer then period, as otherwise calls can pile up. - #timeout: 1s - - # Optional fields to be added to each event - #fields: - # datacenter: west - - # Network type to be used for redis connection. Default: tcp - #network: tcp - - # Max number of concurrent connections. Default: 10 - #maxconn: 10 - - # Filters can be used to reduce the number of fields sent. - #filters: - # - include_fields: - # fields: ["stats"] - - # Redis AUTH password. Empty by default. - #password: foobared diff --git a/metricbeat/module/redis/_meta/config.yml b/metricbeat/module/redis/_meta/config.yml index 5c37c43f20ac..e9d3895a40b4 100644 --- a/metricbeat/module/redis/_meta/config.yml +++ b/metricbeat/module/redis/_meta/config.yml @@ -1,7 +1,30 @@ - module: redis - metricsets: ["info"] - enabled: true + metricsets: ["info", "keyspace"] + enabled: false period: 10s # Redis hosts hosts: ["127.0.0.1:6379"] + + # Timeout after which time a metricset should return an error + # Timeout is by default defined as period, as a fetch of a metricset + # should never take longer then period, as otherwise calls can pile up. + #timeout: 1s + + # Optional fields to be added to each event + #fields: + # datacenter: west + + # Network type to be used for redis connection. Default: tcp + #network: tcp + + # Max number of concurrent connections. Default: 10 + #maxconn: 10 + + # Filters can be used to reduce the number of fields sent. + #filters: + # - include_fields: + # fields: ["stats"] + + # Redis AUTH password. Empty by default. + #password: foobared diff --git a/metricbeat/module/windows/_meta/config.yml b/metricbeat/module/windows/_meta/config.yml index 34039190ae4e..968ba4c51343 100644 --- a/metricbeat/module/windows/_meta/config.yml +++ b/metricbeat/module/windows/_meta/config.yml @@ -1,5 +1,5 @@ -#- module: windows -# metricsets: ["perfmon"] -# enabled: true -# period: 10s -# perfmon.counters: +- module: windows + metricsets: ["perfmon"] + enabled: false + period: 10s + perfmon.counters: diff --git a/metricbeat/module/zookeeper/_meta/config.yml b/metricbeat/module/zookeeper/_meta/config.yml index 8dd1dc247628..77eb186097a2 100644 --- a/metricbeat/module/zookeeper/_meta/config.yml +++ b/metricbeat/module/zookeeper/_meta/config.yml @@ -1,5 +1,5 @@ -#- module: zookeeper - #metricsets: ["mntr"] - #enabled: true - #period: 10s - #hosts: ["localhost:2181"] +- module: zookeeper + metricsets: ["mntr"] + enabled: false + period: 10s + hosts: ["localhost:2181"] diff --git a/metricbeat/scripts/module/config.yml b/metricbeat/scripts/module/config.yml index b82b8e892a46..46cb7a0fd948 100644 --- a/metricbeat/scripts/module/config.yml +++ b/metricbeat/scripts/module/config.yml @@ -1,6 +1,6 @@ - module: {module} metricsets: ["{metricset}"] - enabled: true + enabled: false period: 10s hosts: ["localhost"] diff --git a/metricbeat/scripts/module/fields.yml b/metricbeat/scripts/module/fields.yml index 50d767ec5aa2..f0043e3ee42d 100644 --- a/metricbeat/scripts/module/fields.yml +++ b/metricbeat/scripts/module/fields.yml @@ -1,6 +1,8 @@ - key: {module} title: "{module}" description: > + []experimental + {module} Module fields: - name: {module} diff --git a/metricbeat/scripts/module/metricset/metricset.go.tmpl b/metricbeat/scripts/module/metricset/metricset.go.tmpl index 8674b275f079..07f552a1b121 100644 --- a/metricbeat/scripts/module/metricset/metricset.go.tmpl +++ b/metricbeat/scripts/module/metricset/metricset.go.tmpl @@ -2,6 +2,7 @@ package {metricset} import ( "github.com/elastic/beats/libbeat/common" + "github.com/elastic/beats/libbeat/logp" "github.com/elastic/beats/metricbeat/mb" ) @@ -29,6 +30,8 @@ func New(base mb.BaseMetricSet) (mb.MetricSet, error) { config := struct{}{} + logp.Warn("EXPERIMENTAL: The {module} {metricset} metricset is experimental") + if err := base.Module().UnpackConfig(&config); err != nil { return nil, err }