code: def _send_telemetry(
      status: str,
      mode: int,
      session: Session,
      failure_reason: str = None,
      failure_type: str = None,
      extra_info: str = None,
  ) -> None:
      """Make GET request to an empty object in S3 bucket"""
      try:
          accountId = _get_accountId(session)
          region = _get_region_or_default(session)
          url = _construct_url(
              accountId,
              str(mode),
              status,
              failure_reason,
              failure_type,
              extra_info,
              region,
          )
          _requests_helper(url, 2)
          logger.debug("ModelBuilder metrics emitted.")
      except Exception:  # pylint: disable=W0703
          logger.debug("ModelBuilder metrics not emitted")
  
file_path: sagemaker-python-sdk/src/sagemaker/serve/utils/telemetry_logger.py
imports: from __future__ import absolute_import
  import logging
  import requests
  from sagemaker import Session
  from sagemaker.serve.mode.function_pointers import Mode
  from sagemaker.serve.utils.exceptions import ModelBuilderException
  from sagemaker.serve.utils.types import ModelServer
label_desc: Use image node_id 2 for calling a global function with example usage: _send_telemetry(status, mode, session, failure_reason, failure_type, extra_info) without return types