Add disk latency metrics implementation in Hyper-V Inspector
High latency between I/O requests can be a sign of issues. Collecting disk metrics can help detect those issues. Windows / Hyper-V Server 2012 R2 can collect those metrics. This patch adds a disk latency metrics implementation for the Hyper-V Inspector as well as disk latency and per device latency pollsters. DocImpact Change-Id: I1621fc7d4226ae1f46cdfca878e8b52487ca4379 Implements: blueprint hyper-v-disk-latency-metrics
This commit is contained in:
@@ -35,8 +35,8 @@ class TestManager(base.BaseTestCase):
|
||||
|
||||
def test_load_plugins_pollster_list(self):
|
||||
mgr = manager.AgentManager(pollster_list=['disk.*'])
|
||||
# currently we do have 16 disk-related pollsters
|
||||
self.assertEqual(16, len(list(mgr.extensions)))
|
||||
# currently we do have 18 disk-related pollsters
|
||||
self.assertEqual(18, len(list(mgr.extensions)))
|
||||
|
||||
def test_load_plugins_no_intersection(self):
|
||||
# Let's test nothing will be polled if namespace and pollsters
|
||||
|
||||
Reference in New Issue
Block a user