code: def log_exception(self, group, msg, req_time, n=1):
      self.fail += n
      self.exec_ps.put(time.time(), 1)
      self.exec_times.append(req_time)
      self.exec_time_ps.put(time.time(), req_time)
      self.exceptions[group].append(msg)
  
imports: import asyncio
  import math
  import time
  from collections import defaultdict
  from tabulate import tabulate
label_desc: Use image node_id 5 for calling the Stat obj's underlying member method code with example usage: obj.log_exception(group, msg, req_time, n) without return types