code: def _record(self, value=1, tags: Optional[Dict[str, str]] = None):
      if _ray_gauge_set_available:
          self._metric.set(value, tags)
      elif ray_metrics is not None:  # pragma: no branch
          self._metric.record(value, tags)
  
file_path: mars/mars/metrics/backends/ray/ray_metric.py
imports: from typing import Optional, Dict
  from ....utils import lazy_import, lazy_import_on_load
  from ..metric import AbstractMetric, AbstractCounter, AbstractGauge, AbstractMeter, AbstractHistogram
label_desc: Use image node_id 2 for calling the RayMetricMixin obj's underlying member method code with example usage: obj._record(value, tags) without return types