code: def test_multiple_counters(self):
      counter1 = monitoring.Counter(
          "test/counter1", "test counter", "label1"
      )
      counter1.get_cell("foo").increase_by(1)
      self.assertEqual(counter1.get_cell("foo").value(), 1)
      counter2 = monitoring.Counter(
          "test/counter2", "test counter", "label1", "label2"
      )
      counter2.get_cell("foo", "bar").increase_by(5)
      self.assertEqual(counter2.get_cell("foo", "bar").value(), 5)
  
file_path: tensorflow-upstream/tensorflow/python/eager/monitoring_test.py
imports: import time
  from tensorflow.python.eager import monitoring
  from tensorflow.python.eager import test
  from tensorflow.python.framework import test_util
label_desc: Use image node_id 2 for calling the MonitoringTest obj's underlying member method code with example usage: obj.test_multiple_counters() without return types