public class MetricTagsMatch extends Object
Modifier and Type | Class and Description |
---|---|
static class |
MetricTagsMatch.MatchType
The type of match.
|
Modifier and Type | Field and Description |
---|---|
static MetricTagsMatch.MatchType |
DEFAULT_TYPE
The default value for matching type = EQUALS.
|
static String |
DEFAULT_VALUE
The default matching value (empty).
|
Constructor and Description |
---|
MetricTagsMatch() |
MetricTagsMatch(io.vertx.core.json.JsonObject json) |
MetricTagsMatch(MetricTagsMatch other) |
Modifier and Type | Method and Description |
---|---|
io.vertx.core.json.JsonObject |
getTags() |
MetricTagsMatch.MatchType |
getType() |
String |
getValue() |
MetricTagsMatch |
setTags(io.vertx.core.json.JsonObject tags)
Set the tags to apply if metric name matches the criteria.
|
MetricTagsMatch |
setType(MetricTagsMatch.MatchType type)
Set the type of matching to apply.
|
MetricTagsMatch |
setValue(String value)
Set the matched value.
|
public static final MetricTagsMatch.MatchType DEFAULT_TYPE
public static final String DEFAULT_VALUE
public MetricTagsMatch()
public MetricTagsMatch(MetricTagsMatch other)
public MetricTagsMatch(io.vertx.core.json.JsonObject json)
public MetricTagsMatch.MatchType getType()
public MetricTagsMatch setType(MetricTagsMatch.MatchType type)
type
- the matcher typepublic String getValue()
public MetricTagsMatch setValue(String value)
value
- the value to matchpublic io.vertx.core.json.JsonObject getTags()
public MetricTagsMatch setTags(io.vertx.core.json.JsonObject tags)
Copyright © 2018. All rights reserved.