lib/serverdensity/Api/Metrics.php
public function available($id, $start, $end){
        $param = array(
            'start' => date("Y-m-d\TH:i:s\Z", $start),
            'end' => date("Y-m-d\TH:i:s\Z", $end)
        );

        return $this->get('metrics/definitions/'.urlencode($id), $param);
    }
public function available($id, $start, $end){
        $param = array(
            'start' => date("Y-m-d\TH:i:s\Z", $start),
            'end' => date("Y-m-d\TH:i:s\Z", $end)
        );

        return $this->get('metrics/definitions/'.urlencode($id), $param);
    }
public function available ( $ id , $ start , $ end ) { $ param = array ( 'start' => date ( "Y-m-d\TH:i:s\Z" , $ start ) , 'end' => date ( "Y-m-d\TH:i:s\Z" , $ end ) ) ; return $ this -> get ( 'metrics/definitions/' . urlencode ( $ id ) , $ param ) ; }
Get available metrics
@link     https://developer.serverdensity.com/docs/available-metrics
@param    string      $id     the subjectID to get available metrics
@param    timestamp   $start  the start of the period.
@param    timestamp   $end    the end of the period
@return   an array that is all available metrics.
Get available metrics