class VertxHawkularOptions extends MetricsOptions
Vert.x Hawkular monitoring configuration.
- Alphabetic
- By Inheritance
- VertxHawkularOptions
- MetricsOptions
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Instance Constructors
- new VertxHawkularOptions(_asJava: ext.hawkular.VertxHawkularOptions)
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
asJava: ext.hawkular.VertxHawkularOptions
- Definition Classes
- VertxHawkularOptions → MetricsOptions
-
def
clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @native() @throws( ... )
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
finalize(): Unit
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
- def getAuthenticationOptions: AuthenticationOptions
- def getBatchDelay: Int
- def getBatchSize: Int
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def getDisabledMetricsTypes: Set[MetricsType]
- def getHost: String
- def getHttpHeaders: JsonObject
- def getHttpOptions: HttpClientOptions
- def getMetricTagsMatches: Buffer[MetricTagsMatch]
- def getMetricsBridgeAddress: String
- def getMetricsServiceUri: String
- def getPort: Int
- def getPrefix: String
- def getSchedule: Int
- def getTaggedMetricsCacheSize: Int
- def getTags: JsonObject
- def getTenant: String
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
isEnabled: Boolean
- Definition Classes
- VertxHawkularOptions → MetricsOptions
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- def isMetricsBridgeEnabled: Boolean
- def isSendTenantHeader: Boolean
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
def
setAuthenticationOptions(value: AuthenticationOptions): VertxHawkularOptions
Set the options for authentication.
-
def
setBatchDelay(value: Int): VertxHawkularOptions
Set the maximum delay between two consecutive batches (in seconds).
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 thebatchDelay
expires. Defaults to1
second. -
def
setBatchSize(value: Int): VertxHawkularOptions
Set the maximum number of metrics in a batch.
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 thebatchDelay
expires. Defaults to50
. -
def
setDisabledMetricsTypes(value: Set[MetricsType]): VertxHawkularOptions
Sets metrics types that are disabled.
-
def
setEnabled(value: Boolean): VertxHawkularOptions
Set whether metrics will be enabled on the Vert.x instance.
Set whether metrics will be enabled on the Vert.x instance. Metrics are not enabled by default.
- Definition Classes
- VertxHawkularOptions → MetricsOptions
-
def
setHost(value: String): VertxHawkularOptions
Set the Hawkular Metrics service host.
Set the Hawkular Metrics service host. Defaults to
localhost
. -
def
setHttpHeaders(value: JsonObject): VertxHawkularOptions
Set specific headers to include in HTTP requests.
-
def
setHttpOptions(value: HttpClientOptions): VertxHawkularOptions
Set the configuration of the Hawkular Metrics HTTP client.
-
def
setMetricTagsMatches(value: Buffer[MetricTagsMatch]): VertxHawkularOptions
Sets a list of MetricTagsMatch.
-
def
setMetricsBridgeAddress(value: String): VertxHawkularOptions
Sets the metric bridge address on which the application is sending the custom metrics.
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
andvalue
fields.Don't forget to also enable the bridge with
metricsBridgeEnabled
. -
def
setMetricsBridgeEnabled(value: Boolean): VertxHawkularOptions
Sets whether or not the metrics bridge should be enabled.
Sets whether or not the metrics bridge should be enabled. The metrics bridge is disabled by default.
-
def
setMetricsServiceUri(value: String): VertxHawkularOptions
Set the Hawkular Metrics service URI.
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. -
def
setPort(value: Int): VertxHawkularOptions
Set the Hawkular Metrics service port.
Set the Hawkular Metrics service port. Defaults to
8080
. -
def
setPrefix(value: String): VertxHawkularOptions
Set the metric name prefix.
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.
-
def
setSchedule(value: Int): VertxHawkularOptions
Set the metric collection interval (in seconds).
Set the metric collection interval (in seconds). Defaults to
1
. -
def
setSendTenantHeader(value: Boolean): VertxHawkularOptions
Set whether Hawkular tenant header should be sent.
Set whether Hawkular tenant header should be sent. Defaults to
true
. Must be set tofalse
when working with pre-Alpha13 Hawkular servers. -
def
setTaggedMetricsCacheSize(value: Int): VertxHawkularOptions
Set the number of metric names to cache in order to avoid repeated tagging requests.
-
def
setTags(value: JsonObject): VertxHawkularOptions
Set tags applied to all metrics.
-
def
setTenant(value: String): VertxHawkularOptions
Set the Hawkular tenant.
Set the Hawkular tenant. Defaults to
default
. -
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @throws( ... )