Merge "Added new instance metrics to gnocchi definition"

This commit is contained in:
Jenkins
2017-01-04 10:25:30 +00:00
committed by Gerrit Code Review
2 changed files with 10 additions and 0 deletions

View File

@@ -39,10 +39,13 @@ resources:
- 'memory'
- 'memory.usage'
- 'memory.resident'
- 'memory.bandwidth.total'
- 'memory.bandwidth.local'
- 'vcpus'
- 'cpu'
- 'cpu.delta'
- 'cpu_util'
- 'cpu_l3_cache'
- 'disk.root.size'
- 'disk.ephemeral.size'
- 'disk.read.requests'
@@ -59,6 +62,10 @@ resources:
- 'disk.allocation'
- 'disk.usage'
- 'compute.instance.booting.time'
- 'perf.cpu.cycles'
- 'perf.instructions'
- 'perf.cache.references'
- 'perf.cache.misses'
attributes:
host: resource_metadata.(instance_host|host)
image_ref: resource_metadata.image_ref

View File

@@ -531,7 +531,10 @@ class DispatcherWorkflowTest(base.BaseTestCase,
metric_names=[
'instance', 'disk.root.size', 'disk.ephemeral.size',
'memory', 'vcpus', 'memory.usage', 'memory.resident',
'memory.bandwidth.total', 'memory.bandwidth.local',
'cpu', 'cpu.delta', 'cpu_util', 'vcpus', 'disk.read.requests',
'cpu_l3_cache', 'perf.cpu.cycles', 'perf.instructions',
'perf.cache.references', 'perf.cache.misses',
'disk.read.requests.rate', 'disk.write.requests',
'disk.write.requests.rate', 'disk.read.bytes',
'disk.read.bytes.rate', 'disk.write.bytes',