@Override
  public Map<String, Double> getTimerValues(String group, String timer) {
    return getMetricValues(group, timer, "AverageTime");
  }
JMX metrics accessor.
It connects to a container JMX url,and get metrics values by querying the MBeans.
samza-core/src/main/java/org/apache/samza/metrics/JmxMetricsAccessor.java