

def test_labels(self):
    labels = Counter('labels', 'help', ['a', 'b'], registry=self.registry)
    labels.labels('c', 'd').inc()
    self.gb.push()
    self.t.join()
    self.assertEqual(b'labels.a.c.b.d 1.0 1434898897\n', self.data)

dataset/ETHPy150Open prometheus/client_python/tests/test_graphite_bridge.py TestGraphiteBridge.test_labels/original