48 lines
1 KiB
Text
48 lines
1 KiB
Text
|
////
|
||
|
This file is generated! See scripts/docs_collector.py
|
||
|
////
|
||
|
|
||
|
[[metricbeat-module-dropwizard]]
|
||
|
== Dropwizard module
|
||
|
|
||
|
beta[]
|
||
|
|
||
|
This is the http://dropwizard.io[Dropwizard] module. The default metricset is `collector`.
|
||
|
|
||
|
[float]
|
||
|
=== Compability
|
||
|
|
||
|
The Dropwizard module is tested with dropwizard metrics 3.1.0.
|
||
|
|
||
|
|
||
|
[float]
|
||
|
=== Example configuration
|
||
|
|
||
|
The Dropwizard module supports the standard configuration options that are described
|
||
|
in <<configuration-metricbeat>>. Here is an example configuration:
|
||
|
|
||
|
[source,yaml]
|
||
|
----
|
||
|
metricbeat.modules:
|
||
|
- module: dropwizard
|
||
|
metricsets: ["collector"]
|
||
|
period: 10s
|
||
|
hosts: ["localhost:8080"]
|
||
|
metrics_path: /metrics/metrics
|
||
|
namespace: example
|
||
|
enabled: true
|
||
|
----
|
||
|
|
||
|
This module supports TLS connections when using `ssl` config field, as described in <<configuration-ssl>>.
|
||
|
It also supports the options described in <<module-http-config-options>>.
|
||
|
|
||
|
[float]
|
||
|
=== Metricsets
|
||
|
|
||
|
The following metricsets are available:
|
||
|
|
||
|
* <<metricbeat-metricset-dropwizard-collector,collector>>
|
||
|
|
||
|
include::dropwizard/collector.asciidoc[]
|
||
|
|