code: def GetMetricTypes(self, request, context):
          
          LOG.debug("GetMetricTypes called")
          try:
              metrics = self.plugin.update_catalog(ConfigMap(pb=request.config))
              return MetricsReply(metrics=[m.pb for m in metrics])
          except Exception as err:
              msg = "message: {}\n\nstack trace: {}".format(
                  err, traceback.format_exc())
              return MetricsReply(metrics=[], error=msg)
docs: Dispatches the request to the plugins update_catalog method