public static enum PrometheusCustomTag.MetricType extends Enum<PrometheusCustomTag.MetricType>
| Modifier and Type | Method and Description |
|---|---|
static PrometheusCustomTag.MetricType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PrometheusCustomTag.MetricType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PrometheusCustomTag.MetricType counter
public static final PrometheusCustomTag.MetricType gauge
public static final PrometheusCustomTag.MetricType histogram
public static final PrometheusCustomTag.MetricType summary
public static PrometheusCustomTag.MetricType[] values()
for (PrometheusCustomTag.MetricType c : PrometheusCustomTag.MetricType.values()) System.out.println(c);
public static PrometheusCustomTag.MetricType valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullCopyright © 2008–2019 Emeric Vernat. All rights reserved.