Exemple #1
0
    def _measurement_list(self, tenant_id, name, dimensions, start_timestamp,
                          end_timestamp, req_uri, offset, limit,
                          merge_metrics_flag):

        result = self._metrics_repo.measurement_list(tenant_id, self._region,
                                                     name, dimensions,
                                                     start_timestamp,
                                                     end_timestamp, offset,
                                                     limit, merge_metrics_flag)

        return helpers.paginate_measurement(result, req_uri, limit)
Exemple #2
0
    def _measurement_list(self, tenant_id, name, dimensions, start_timestamp,
                          end_timestamp, req_uri, offset,
                          limit, merge_metrics_flag):

        result = self._metrics_repo.measurement_list(tenant_id,
                                                     self._region,
                                                     name,
                                                     dimensions,
                                                     start_timestamp,
                                                     end_timestamp,
                                                     offset,
                                                     limit,
                                                     merge_metrics_flag)

        return helpers.paginate_measurement(result, req_uri, limit)