code: def emit(self, metric_data: MetricData):
      print(
          f"[{metric_data.timestamp}][{metric_data.group_name}]: {metric_data.name}={metric_data.value}"
      )
  
imports: import abc
  import time
  import warnings
  from collections import namedtuple
  from functools import wraps
  from typing import Dict, Optional
label_desc: Use image node_id 1 for calling the ConsoleMetricHandler obj's underlying member method code with example usage: obj.emit(metric_data) without return types