code: def __getattr__(item: t.Any):
      if item in _NOT_SUPPORTED:
          raise NotImplementedError(
              f"{item} is not supported when using '{__name__}'. See https://docs.bentoml.com/en/latest/reference/metrics.html."
          )
      # This is the entrypoint for all bentoml.metrics.*
      return _LazyMetric(item, docstring=_docstring.get(item))
  
file_path: BentoML/src/bentoml/metrics.py
imports: from __future__ import annotations
  import logging
  import typing
  from typing import TYPE_CHECKING
  from simple_di import Provide
  from simple_di import inject
  from ._internal.configuration.containers import BentoMLContainer
label_desc: Use image node_id 2 for calling a global function with example usage: __getattr__(item) and returns: _LazyMetric