public String getStatValueAsString ( T metric , String interval ) { if ( metric . isRateMetric ( ) ) { return String . valueOf ( getStatValueAsDouble ( metric , interval ) ) ; } return getMonitoredStatValue ( metric ) . getValueAsString ( interval ) ; }
Get value of provided metric for the given interval as String value .