code: def metric_name(*args: str | int) -> str:
      """
      Concatenates the given parts into a legal Prometheus metric name. For example,
      a valid tag name may includes invalid characters, so we need to escape them
      ref: https://prometheus.io/docs/concepts/data_model/#metric-names-and-labels
      """
      return "_".join(
          [
              str(arg).replace("-", ":").replace(".", "::")
              for arg in args
          ]
      )
  
imports: from __future__ import annotations
label_desc: Use image node_id 1 for calling a global function with example usage: metric_name() and returns: str