@base.apimethod
    def metric_data(self, names, values=None, from_datetime=None,
                    to_datetime=None, summarize=None):
        params = base.get_params(None, locals())
        if params.get('from_datetime') and params.get('to_datetime'):
            params['from'] = params.pop('from_datetime')
            params['to'] = params.pop('to_datetime')
        url = '{0}/metrics/data.json'.format(self.get_url())
        request = http.Request('GET', url, params)

        return request, parsers.parse_json
List of values for each requested metrics.
dataset/ETHPy150Open ducksboard/libsaas/libsaas/services/newrelic/application_instances.py/ApplicationInstance.metric_data