vertx / io.vertx.micrometer / Match

# Match

`open class Match`

A match for a value.

Author
Julien Viet

### Constructors

<init> | `Match()` Default constructor `Match(other: Match)` Copy constructor `Match(json: JsonObject)` Create an instance from a JsonObject

### Properties

DEFAULT_TYPE | `static val DEFAULT_TYPE: MatchType` The default value : `MatchType#EQUALS`

### Functions

getAlias | `open fun getAlias(): String`
getDomain | `open fun getDomain(): MetricsDomain`
getLabel | `open fun getLabel(): String`
getType | `open fun getType(): MatchType`
getValue | `open fun getValue(): String`
setAlias | `open fun setAlias(alias: String): Match` Set an alias that would replace the label value when it matches.
setDomain | `open fun setDomain(domain: MetricsDomain): Match` Set the label domain, restricting this rule to a single domain.
setLabel | `open fun setLabel(label: String): Match` Set the label name. The match will apply to the values related to this key.
setType | `open fun setType(type: MatchType): Match` Set the type of matching to apply.
setValue | `open fun setValue(value: String): Match` Set the matched value.