The contents of this method are identical to getCounter() and getMetric().  It's probably time to refactor this to just use a generic helper method.