code: def _runtime_info():
      """
      Gather information from the environment where DVC runs to fill a report.
      """
      from iterative_telemetry import (
          _generate_ci_id,
          find_or_create_user_id,
      )
  
      from dvc import __version__
      from dvc.utils import is_binary
  
      ci_id = _generate_ci_id()
      if ci_id:
          group_id, user_id = ci_id
      else:
          group_id, user_id = None, find_or_create_user_id()
  
      return {
          "dvc_version": __version__,
          "is_binary": is_binary(),
          "scm_class": _scm_in_use(),
          "system_info": _system_info(),
          "user_id": user_id,
          "group_id": group_id,
      }
  
file_path: dvc/dvc/analytics.py
imports: import json
  import os
  from dvc.log import logger
  from .env import DVC_ANALYTICS_ENDPOINT, DVC_NO_ANALYTICS
label_desc: Use image node_id 5 for calling a global function with example usage: _runtime_info() and returns: dict