com.codahale.metrics.MetricAttribute Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of metrics-core Show documentation
Show all versions of metrics-core Show documentation
Metrics is a Java library which gives you unparalleled insight into what your code does in
production. Metrics provides a powerful toolkit of ways to measure the behavior of critical
components in your production environment.
package com.codahale.metrics;
/**
* Represents attributes of metrics which can be reported.
*/
public enum MetricAttribute {
MAX("max"),
MEAN("mean"),
MIN("min"),
STDDEV("stddev"),
P50("p50"),
P75("p75"),
P95("p95"),
P98("p98"),
P99("p99"),
P999("p999"),
COUNT("count"),
M1_RATE("m1_rate"),
M5_RATE("m5_rate"),
M15_RATE("m15_rate"),
MEAN_RATE("mean_rate");
private final String code;
MetricAttribute(String code) {
this.code = code;
}
public String getCode() {
return code;
}
}