public static enum Description.FieldOrdering extends Enum<Description.FieldOrdering>
Enum Constant and Description |
---|
AT_END
Default ordering places fields at end of the parent metric name.
|
PREFIX_FIELDS_BASENAME
Splits the metric name by inserting field values before the last '/' in the metric name.
|
Modifier and Type | Method and Description |
---|---|
static Description.FieldOrdering |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Description.FieldOrdering[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Description.FieldOrdering AT_END
public static final Description.FieldOrdering PREFIX_FIELDS_BASENAME
"plugins/replication/push_latency"
with a Field.ofString("remote")
will create submetrics named "plugins/replication/some-server/push_latency"
.public static Description.FieldOrdering[] values()
for (Description.FieldOrdering c : Description.FieldOrdering.values()) System.out.println(c);
public static Description.FieldOrdering 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 null