Browse Source

Add volume.manage to metrics.

This allows to monitor cinder managed ceph volumes
to be monitored.
The second addition here allows the same for snapshots.

Change-Id: I7f045fa618e78351e05ad69bc9580e98487f0c29
(cherry picked from commit 7df749884b)
(cherry picked from commit fd41c23d1c)
changes/46/733746/1
Matthias Runge 1 month ago
parent
commit
0476a72375
2 changed files with 8 additions and 1 deletions
  1. +2
    -0
      ceilometer/data/meters.d/meters.yaml
  2. +6
    -1
      ceilometer/publisher/data/gnocchi_resources.yaml

+ 2
- 0
ceilometer/data/meters.d/meters.yaml View File

@@ -120,6 +120,7 @@ metric:
- 'volume.attach.*'
- 'volume.detach.*'
- 'volume.update.*'
- 'volume.manage.*'
type: 'gauge'
unit: 'GB'
volume: $.payload.size
@@ -137,6 +138,7 @@ metric:
- 'snapshot.exists'
- 'snapshot.create.*'
- 'snapshot.delete.*'
- 'snapshot.manage.*'
type: 'gauge'
unit: 'GB'
volume: $.payload.volume_size


+ 6
- 1
ceilometer/publisher/data/gnocchi_resources.yaml View File

@@ -238,6 +238,10 @@ resources:
volume.snapshot.size:
volume.backup.size:
backup.size:
volume.manage_existing.start:
volume.manage_existing.end:
volume.manage_existing_snapshot.start:
volume.manage_existing_snapshot.end:
attributes:
display_name: resource_metadata.(display_name|name)
volume_type: resource_metadata.volume_type
@@ -406,4 +410,5 @@ resources:
network.services.lb.health_monitor:
network.services.lb.loadbalancer:
network.services.lb.total.connections:
network.services.lb.active.connections:
network.services.lb.active.connections:


Loading…
Cancel
Save