class_docstr: Monitoring utility class for usage metrics.
code: def __call__(self, func):
      @functools.wraps(func)
      def inner(*args, **kwargs):
          try:
              results = func(*args, **kwargs)
              self.bool_gauge.get_cell(
                  MonitorBoolGauge._SUCCESS_LABEL
              ).set(True)
              return results
          except Exception as error:
              self.bool_gauge.get_cell(
                  MonitorBoolGauge._FAILURE_LABEL
              ).set(True)
              raise error
  
      if self.bool_gauge:
          return inner
  
      return func
  
imports: import functools
  from tensorflow.python.eager import monitoring
label_desc: Use image node_id 3 for calling the MonitorBoolGauge obj's underlying member method code with example usage: obj.__call__(func) and returns: func, inner, results