code: def export_metrics(self, metrics):
          
          metric_protos = []
          for metric in metrics:
              metric_protos.append(_get_metric_proto(metric))
  
          self._rpc_handler.send(
              metrics_service_pb2.ExportMetricsServiceRequest(
                  metrics=metric_protos))
docs: Exports given metrics to target metric service.