code: def test_record():
      c = Counter("test_counter")
      assert c.record(1) is None
  
imports: from .....tests.core import require_ray
  from ..ray_metric import Counter, Gauge, Meter, Histogram
label_desc: Use image node_id 1 for calling a global function with example usage: test_record() without return types