code: def _component_name():
      result = ""
      if component_context.component_type:
          result = component_context.component_type
      if component_context.component_name:
          result = f"{result}:{component_context.component_name}"
      if component_context.component_index:
          result = f"{result}:{component_context.component_index}"
      return result
  
file_path: BentoML/grpc-client/bentoml/_internal/log.py
imports: from __future__ import annotations
  import logging
  import logging.config
  import typing
  from functools import lru_cache
  from .configuration import get_debug_mode
  from .configuration import get_quiet_mode
  from .context import component_context
  from .context import trace_context
label_desc: Use image node_id 2 for calling a global function with example usage: _component_name() and returns: result