public Collection < Metric > metricNames ( long applicationId , String name ) { QueryParameterList queryParams = new QueryParameterList ( ) ; if ( name != null && name . length ( ) > 0 ) queryParams . add ( "name" , name ) ; return HTTP . GET ( String . format ( "/v2/mobile_applications/%d/metrics.json" , applicationId ) , null , queryParams , METRICS ) . get ( ) ; }
Returns the set of metrics for the given application .