code: def test_counter(start_prometheus_http_server):
      c = Counter(
          "test_counter", "A test counter", ("service", "tenant")
      )
      assert c.name == "test_counter"
      assert c.description == "A test counter"
      assert set(["host", "pid"]).issubset(set(c.tag_keys))
      assert set(["service", "tenant"]).issubset(set(c.tag_keys))
      assert c.type == "Counter"
      c.record(1, {"service": "mars", "tenant": "test"})
      verify_metric("test_counter", 1.0)
      c.record(2, {"service": "mars", "tenant": "test"})
      verify_metric("test_counter", 3.0)
  
file_path: mars/mars/metrics/backends/prometheus/tests/test_prometheus_metric.py
imports: import pytest
  import time
  from .....utils import get_next_port
  from ..prometheus_metric import Counter, Gauge, Histogram, Meter
label_desc: Use image node_id 3 for calling a global function with example usage: test_counter(start_prometheus_http_server) without return types