Commit 0d0f5448 authored by Björn Richerzhagen's avatar Björn Richerzhagen
Browse files

Access to all available Metrics

parent 38885049
......@@ -133,6 +133,15 @@ public class MetricAnalyzer implements Analyzer {
Monitor.log(MetricAnalyzer.class, Level.WARN, "You requested metric '"+name+"', which was not found. Available metrics are: %s", metrics);
return null;
}
/**
* Retrieve all metrics
*
* @return
*/
public static List<Metric<?>> getMetrics() {
return metrics;
}
/**
* Adds an ouput channel
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment