vertx-lang-scala-docs_2.12 3.4.1 API < Back
 

# Packages

-  package root
  Definition Classes
    root
-  package io
  Definition Classes
    root
-  package vertx
  Definition Classes
    io
-  package scala
  Definition Classes
    vertx
-  package ext
  Definition Classes
    scala
-  package hawkular
  Definition Classes
    ext
- AuthenticationOptions
- VertxHawkularOptions

c

io.vertx.scala.ext.hawkular

# VertxHawkularOptions 

###
Companion object VertxHawkularOptions

#### class VertxHawkularOptions extends MetricsOptions

Vert.x Hawkular monitoring configuration.

Linear Supertypes
MetricsOptions, AnyRef, Any
 
Ordering

1. Alphabetic
2. By Inheritance

Inherited

1. VertxHawkularOptions
2. MetricsOptions
3. AnyRef
4. Any

1. Hide All
2. Show All

Visibility

1. Public
2. All

### Instance Constructors

1.  new VertxHawkularOptions(_asJava: ext.hawkular.VertxHawkularOptions)

### Value Members

1.  final def !=(arg0: Any): Boolean
   Definition Classes
     AnyRef → Any
2.  final def ##(): Int
   Definition Classes
     AnyRef → Any
3.  final def ==(arg0: Any): Boolean
   Definition Classes
     AnyRef → Any
4.  def addDisabledMetricsType(value: MetricsType): VertxHawkularOptions

   Sets metrics types that are disabled.

5.  final def asInstanceOf[T0]: T0
   Definition Classes
     Any
6.  def asJava: ext.hawkular.VertxHawkularOptions
   Definition Classes
     VertxHawkularOptions → MetricsOptions
7.  def clone(): AnyRef
   Attributes
     protected[java.lang]
   Definition Classes
     AnyRef
   Annotations
     @throws( ... )
8.  final def eq(arg0: AnyRef): Boolean
   Definition Classes
     AnyRef
9.  def equals(arg0: Any): Boolean
   Definition Classes
     AnyRef → Any
10.  def finalize(): Unit
    Attributes
      protected[java.lang]
    Definition Classes
      AnyRef
    Annotations
      @throws( classOf[java.lang.Throwable] )
11.  def getAuthenticationOptions: AuthenticationOptions
12.  def getBatchDelay: Int
13.  def getBatchSize: Int
14.  final def getClass(): Class[_]
    Definition Classes
      AnyRef → Any
15.  def getDisabledMetricsTypes: Set[MetricsType]
16.  def getHost: String
17.  def getHttpHeaders: JsonObject
18.  def getHttpOptions: HttpClientOptions
19.  def getMetricsBridgeAddress: String
20.  def getMetricsServiceUri: String
21.  def getPort: Int
22.  def getPrefix: String
23.  def getSchedule: Int
24.  def getTenant: String
25.  def hashCode(): Int
    Definition Classes
      AnyRef → Any
26.  def isEnabled: Boolean
    Definition Classes
      VertxHawkularOptions → MetricsOptions
27.  final def isInstanceOf[T0]: Boolean
    Definition Classes
      Any
28.  def isMetricsBridgeEnabled: Boolean
29.  def isSendTenantHeader: Boolean
30.  final def ne(arg0: AnyRef): Boolean
    Definition Classes
      AnyRef
31.  final def notify(): Unit
    Definition Classes
      AnyRef
32.  final def notifyAll(): Unit
    Definition Classes
      AnyRef
33.  def setAuthenticationOptions(value: AuthenticationOptions): VertxHawkularOptions

    Set the options for authentication.

34.  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 the `batchDelay` expires. Defaults to `1` second.

35.  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 the `batchDelay` expires. Defaults to `50`.

36.  def setDisabledMetricsTypes(value: Set[MetricsType]): VertxHawkularOptions
37.  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
38.  def setHost(value: String): VertxHawkularOptions

    Set the Hawkular Metrics service host.

    Set the Hawkular Metrics service host. Defaults to `localhost`.

39.  def setHttpHeaders(value: JsonObject): VertxHawkularOptions

    Set specific headers to include in HTTP requests.

40.  def setHttpOptions(value: HttpClientOptions): VertxHawkularOptions

    Set the configuration of the Hawkular Metrics HTTP client.

41.  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` and `value` fields.

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

42.  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.

43.  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.

44.  def setPort(value: Int): VertxHawkularOptions

    Set the Hawkular Metrics service port.

    Set the Hawkular Metrics service port. Defaults to `8080`.

45.  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.

46.  def setSchedule(value: Int): VertxHawkularOptions

    Set the metric collection interval (in seconds).

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

47.  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 to `false` when working with pre-Alpha13 Hawkular servers.

48.  def setTenant(value: String): VertxHawkularOptions

    Set the Hawkular tenant.

    Set the Hawkular tenant. Defaults to `default`.

49.  final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
      AnyRef
50.  def toString(): String
    Definition Classes
      AnyRef → Any
51.  final def wait(): Unit
    Definition Classes
      AnyRef
    Annotations
      @throws( ... )
52.  final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
      AnyRef
    Annotations
      @throws( ... )
53.  final def wait(arg0: Long): Unit
    Definition Classes
      AnyRef
    Annotations
      @throws( ... )

### Inherited from MetricsOptions

### Inherited from AnyRef

### Inherited from Any

### Ungrouped