add cpu.delta to gnocchi resources

we added cpu.delta in liberty to capture cputime between polls.
this adds it to the metric list for instance resource.

Change-Id: Ib494f7d119cda370aa8291fd404dad38c0c53817
This commit is contained in:
gordon chung 2015-11-26 16:29:59 -05:00
parent a57b0c89a5
commit c5b8b79903
2 changed files with 2 additions and 1 deletions

View File

@ -219,7 +219,7 @@ class DispatcherWorkflowTest(base.BaseTestCase,
metric_names=[
'instance', 'disk.root.size', 'disk.ephemeral.size',
'memory', 'vcpus', 'memory.usage', 'memory.resident',
'cpu', 'cpu_util', 'vcpus', 'disk.read.requests',
'cpu', 'cpu.delta', 'cpu_util', 'vcpus', 'disk.read.requests',
'disk.read.requests.rate', 'disk.write.requests',
'disk.write.requests.rate', 'disk.read.bytes',
'disk.read.bytes.rate', 'disk.write.bytes',

View File

@ -41,6 +41,7 @@ resources:
- 'memory.resident'
- 'vcpus'
- 'cpu'
- 'cpu.delta'
- 'cpu_util'
- 'disk.root.size'
- 'disk.ephemeral.size'