MicrometerMetricsOptions

Extends \io\vertx\jphp\core\metrics\MetricsOptions

Vert.x micrometer configuration.

It is required to set either influxDbOptions, prometheusOptions or jmxMetricsOptions (or, programmatically, micrometerRegistry) in order to actually report metrics.

package

Default

Methods

MetricsOptions constructor

__construct( $metricsOptions = null) 
inherited

Arguments

$metricsOptions

mixed | null

addLabelMatch

addLabelMatch( $labelMatchs) : $this

Arguments

$labelMatchs

Match|array

Response

$this

getDisabledMetricsCategories

getDisabledMetricsCategories() : array

Response

array

getInfluxDbOptions

getInfluxDbOptions() : \io\vertx\jphp\micrometer\VertxInfluxDbOptions

getJmxMetricsOptions

getJmxMetricsOptions() : \io\vertx\jphp\micrometer\VertxJmxMetricsOptions

getLabelMatches

getLabelMatches() : array

Response

array

getLabels

getLabels() : array

Response

array

getPrometheusOptions

getPrometheusOptions() : \io\vertx\jphp\micrometer\VertxPrometheusOptions

getRegistryName

getRegistryName() : string

Response

string

isEnabled

isEnabled() : boolean
inherited

Response

boolean

isJvmMetricsEnabled

isJvmMetricsEnabled() : boolean

Response

boolean

setDisabledMetricsCategories

setDisabledMetricsCategories( $disabledMetricsCategories) : $this

Arguments

$disabledMetricsCategories

string

Response

$this

setEnabled

setEnabled( $enabled) : $this
inherited

Arguments

$enabled

boolean

Response

$this

setInfluxDbOptions

setInfluxDbOptions( $influxDbOptions) : $this

Arguments

$influxDbOptions

VertxInfluxDbOptions|array

Response

$this

setJmxMetricsOptions

setJmxMetricsOptions( $jmxMetricsOptions) : $this

Arguments

$jmxMetricsOptions

VertxJmxMetricsOptions|array

Response

$this

setJvmMetricsEnabled

setJvmMetricsEnabled( $jvmMetricsEnabled) : $this

Arguments

$jvmMetricsEnabled

boolean

Response

$this

setLabelMatches

setLabelMatches( $labelMatches) : $this

Arguments

$labelMatches

Match|array

Response

$this

setLabels

setLabels( $labels) : $this

Arguments

$labels

string

Response

$this

setPrometheusOptions

setPrometheusOptions( $prometheusOptions) : $this

Arguments

$prometheusOptions

VertxPrometheusOptions|array

Response

$this

setRegistryName

setRegistryName( $registryName) : $this

Arguments

$registryName

string

Response

$this