code: def getMetrics(self):
      try:
          msg = self.stub.getMetrics(recall_pb2.ServerMessage())
      except Exception as e:
          logging.warning("RPC failed:{}".format(e))
      logging.info("Got metrics: " + msg.str)
  
imports: import logging
  import grpc
  from friesian.example.serving.generated import recall_pb2_grpc, recall_pb2
  import os
  import pandas
  import argparse
  import time
  import threading
  from urllib.parse import urlparse
  from os.path import exists
  from bigdl.dllib.utils import log4Error
label_desc: Use image node_id 3 for calling the SimilarityClient obj's underlying member method code with example usage: obj.getMetrics() without return types