open class VertxJmxMetricsOptions
Options for Prometheus metrics backend.
Author
Joel Takvorian
VertxJmxMetricsOptions()
Default constructor VertxJmxMetricsOptions(other: VertxJmxMetricsOptions)
Copy constructor VertxJmxMetricsOptions(json: JsonObject)
Create an instance from a JsonObject |
static val DEFAULT_DOMAIN: String
Default value for the domain = metrics. |
|
static val DEFAULT_ENABLED: Boolean
Default value for enabled = false. |
|
static val DEFAULT_STEP: Int
Default value for metric collection interval (in seconds) = 10. |
open fun getDomain(): String
Get the JMX domain under which metrics are published |
|
open fun getStep(): Int
Get the step of push intervals, in seconds |
|
open fun isEnabled(): Boolean
Will JMX reporting be enabled? |
|
open fun setDomain(domain: String): VertxJmxMetricsOptions
Set the JMX domain under which to publish metrics |
|
open fun setEnabled(enabled: Boolean): VertxJmxMetricsOptions
Set true to enable Prometheus reporting |
|
open fun setStep(step: Int): VertxJmxMetricsOptions
Push interval steps, in seconds. Default is 10 seconds. |
|
open fun toMicrometerConfig(): JmxConfig
Convert these options to a Micrometer's |