code: def _normalize_system_metric_key(key):
      # Remap names for being categorized as `System` in aim ui: `aim/web/ui/src/config/systemMetrics/systemMetrics.ts``
      # {value is None} means not supported yet
      SYSTEM_METRICS_NAME_MAP = {
          "": {
              "cpu": "cpu",
              "disk": "disk_percent",
              "memory": "memory_percent",
              "network.recv": None,
              "network.sent": None,
          },
          "gpu": {
              "gpu": "gpu",
              "memory": "gpu_memory_percent",
              "memoryAllocated": None,
              "powerPercent": None,
              "powerWatts": "gpu_power_watts",
              "temp": "gpu_temp",
          },
          "proc": {
              "cpu.threads": None,
              "memory.availableMB": None,
              "memory.percent": "p_memory_percent",
              "momory.rssMB": None,
          },
      }
  
      name = re.sub(r"^system\.", "", key)
      gpu_idx_pattern = re.compile(r"^[0-9]+\.")
  
      # Triage & Remap name for aim ui
      if name.startswith("gpu"):
          name = re.sub(r"^gpu\.", "", name)
  
          # Cut & paste gpu idx from name to context
          gpu_idx_match = gpu_idx_pattern.search(name)
          if gpu_idx_match:
              gpu_idx_str = gpu_idx_match.group()
              name = name[len(gpu_idx_str) :]
              gpu_idx = int(gpu_idx_str.rstrip("."))
              context = {
                  "gpu": gpu_idx,
                  "tag": "system",
                  "subset": "gpu",
              }
          else:
              context = {
                  "gpu": "no_idx",
                  "tag": "system",
                  "subset": "gpu",
              }
  
          normalized_name = SYSTEM_METRICS_NAME_MAP["gpu"].get(name)
  
      elif name.startswith("proc"):
          name = re.sub(r"^proc\.", "", name)
          normalized_name = SYSTEM_METRICS_NAME_MAP["proc"].get(name)
          context = {"tag": "system", "subset": "proc"}
  
      else:
          normalized_name = SYSTEM_METRICS_NAME_MAP[""].get(name)
          context = {"tag": "system"}
  
      return normalized_name, context
  
file_path: aim/aim/cli/convert/processors/wandb.py
imports: from pathlib import Path
  import re
  from tempfile import TemporaryDirectory
  import click
  from tqdm import tqdm
  from aim import Run
  from aim.ext.resource.log import LogLine
  from aim.ext.resource.configs import AIM_RESOURCE_METRIC_PREFIX
label_desc: Use image node_id 2 for calling a global function with example usage: _normalize_system_metric_key(key) and returns: normalized_name,  context