Class Match
java.lang.Object
io.vertx.micrometer.Match
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionMatch()Default constructorMatch(JsonObject json) Create an instance from aJsonObjectCopy constructor -
Method Summary
Modifier and TypeMethodDescriptiongetAlias()getLabel()getType()getValue()Set an alias that would replace the label value when it matches.setDomain(MetricsDomain domain) Set the label domain, restricting this rule to a single domain.Set the label name.Set the type of matching to apply.Set the matched value.
-
Field Details
-
DEFAULT_TYPE
The default value :MatchType.EQUALS
-
-
Constructor Details
-
Match
public Match()Default constructor -
Match
-
Match
Create an instance from aJsonObject- Parameters:
json- the JsonObject to create it from
-
-
Method Details
-
getDomain
- Returns:
- the label domain
-
setDomain
Set the label domain, restricting this rule to a single domain.- Parameters:
domain- the label domain- Returns:
- a reference to this, so the API can be used fluently
-
getLabel
- Returns:
- the label name
-
setLabel
-
getValue
- Returns:
- the matched value
-
setValue
-
getType
- Returns:
- the matcher type
-
setType
-
getAlias
- Returns:
- the matcher alias
-
setAlias
-