def export_metrics(self, metrics):
        """ Exports given metrics to target metric service.
        """
        metric_protos = []
        for metric in metrics:
            metric_protos.append(_get_metric_proto(metric))

        self._rpc_handler.send(
            metrics_service_pb2.ExportMetricsServiceRequest(
                metrics=metric_protos))
Exports given metrics to target metric service.