Beispiel #1
0
 def test_unregister_observer(self):
     meter = metrics.DefaultMeter()
     observer = metrics.DefaultObserver()
     meter.unregister_observer(observer)
 def test_observer(self):
     observer = metrics.DefaultObserver()
     observer.observe(1, {})
 def test_observer(self):
     observer = metrics.DefaultObserver()
     label_set = metrics.LabelSet()
     observer.observe(1, label_set)