public class Highest implements Metric
Takes one metric followed by an integer n and an aggregation function. Out of all metrics passed, draws only the n metrics with the highest aggregated value over the time period specified.
For example, "server*.instance*.threads.busy" highestCurrent 5
draws the 5 servers with the highest busy threads.
Modifier and Type | Method and Description |
---|---|
java.lang.String |
asString()
Returns string representation of a metric.
|