code: def shutdown_metrics():
      global _metric_backend
      _metric_backend = "console"
      global _init
      _init = False
      logger.info("Shutdown metrics of backend: %s.", _metric_backend)
  
imports: import logging
  import time
  import weakref
  from contextlib import contextmanager
  from enum import Enum
  from queue import PriorityQueue
  from typing import Any, Callable, Dict, List, NamedTuple, Optional, Tuple
  from .backends.console import console_metric
  from .backends.metric import AbstractMetric
  from .backends.prometheus import prometheus_metric
  from .backends.ray import ray_metric
label_desc: Use image node_id 2 for calling a global function with example usage: shutdown_metrics() without return types