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)
This commit is contained in:
Matthias Runge 2020-05-27 20:02:51 +02:00
parent 30f7024362
commit fd41c23d1c
2 changed files with 8 additions and 1 deletions

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

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: