code: def measure(self, name):
      if self._sidecar.is_active:
          timer = Timer(name + "_timer")
          counter = Counter(name + "_counter")
          timer.start()
          counter.increment()
          yield
          timer.end()
          payload = {
              "counter": counter.serialize(),
              "timer": timer.serialize(),
          }
          msg = Message(MessageTypes.BEST_EFFORT, payload)
          self._sidecar.send(msg)
      else:
          yield
  
imports: import time
  from contextlib import contextmanager
  from metaflow.sidecar import Message, MessageTypes, Sidecar
label_desc: Use image node_id 6 for calling the NullMonitor obj's underlying member method code with example usage: obj.measure(name) without return types