VertxHawkularOptions

Vert.x Hawkular monitoring configuration.

Name

Type

Description

batchDelay

Number (int)

Set the maximum delay between two consecutive batches (in seconds). To reduce the number of HTTP exchanges, metric data is sent to the Hawkular server in batches. A batch is sent as soon as the number of metrics collected reaches the configured batchSize, or after the batchDelay expires. Defaults to 1 second.

batchSize

Number (int)

Set the maximum number of metrics in a batch. To reduce the number of HTTP exchanges, metric data is sent to the Hawkular server in batches. A batch is sent as soon as the number of metrics collected reaches the configured batchSize, or after the batchDelay expires. Defaults to 50.

enabled

Boolean

Set whether metrics will be enabled on the Vert.x instance. Metrics are not enabled by default.

host

String

Set the Hawkular Metrics service host. Defaults to localhost.

httpOptions

HttpClientOptions

Set the configuration of the Hawkular Metrics HTTP client.

metricsBridgeAddress

String

Sets the metric bridge address on which the application is sending the custom metrics. Application can send metrics to this event bus address. The message is a JSON object specifying at least the id and value fields.

Don't forget to also enable the bridge with metricsBridgeEnabled.

metricsBridgeEnabled

Boolean

Sets whether or not the metrics bridge should be enabled. The metrics bridge is disabled by default.

metricsServiceUri

String

Set the Hawkular Metrics service URI. Defaults to /hawkular/metrics. This can be useful if you host the Hawkular server behind a proxy and manipulate the default service URI.

port

Number (int)

Set the Hawkular Metrics service port. Defaults to 8080.

prefix

String

Set the metric name prefix. Metric names are not prefixed by default. Prefixing metric names is required to distinguish data sent by different Vert.x instances.

schedule

Number (int)

Set the metric collection interval (in seconds). Defaults to 1.

tenant

String

Set the Hawkular tenant. Defaults to default.