add glance events
there are a few 'existence of' meters in glance that we could represent better as events. this patch adds them to the definition. Change-Id: I3d2ea24c37c2918c770d6ed4874f43d273f12953 Partial-Bug: #1384874
This commit is contained in:
parent
39d51579d4
commit
1191dc24a2
@ -96,6 +96,38 @@
|
|||||||
fields: payload.snapshot_id
|
fields: payload.snapshot_id
|
||||||
volume_id:
|
volume_id:
|
||||||
fields: payload.volume_id
|
fields: payload.volume_id
|
||||||
|
- event_type: ['image.update', 'image.upload', 'image.delete']
|
||||||
|
traits: &glance_crud
|
||||||
|
project_id:
|
||||||
|
fields: payload.owner
|
||||||
|
resource_id:
|
||||||
|
fields: payload.id
|
||||||
|
name:
|
||||||
|
fields: payload.name
|
||||||
|
status:
|
||||||
|
fields: payload.status
|
||||||
|
created_at:
|
||||||
|
fields: payload.created_at
|
||||||
|
user_id:
|
||||||
|
fields: payload.owner
|
||||||
|
deleted_at:
|
||||||
|
fields: payload.deleted_at
|
||||||
|
size:
|
||||||
|
fields: payload.size
|
||||||
|
- event_type: image.send
|
||||||
|
traits: &glance_send
|
||||||
|
receiver_project:
|
||||||
|
fields: payload.receiver_tenant_id
|
||||||
|
receiver_user:
|
||||||
|
fields: payload.receiver_user_id
|
||||||
|
user_id:
|
||||||
|
fields: payload.owner_id
|
||||||
|
image_id:
|
||||||
|
fields: payload.image_id
|
||||||
|
destination_ip:
|
||||||
|
fields: payload.destination_ip
|
||||||
|
bytes_sent:
|
||||||
|
fields: payload.bytes_sent
|
||||||
- event_type: orchestration.stack.*
|
- event_type: orchestration.stack.*
|
||||||
traits: &orchestration_crud
|
traits: &orchestration_crud
|
||||||
project_id:
|
project_id:
|
||||||
|
Loading…
Reference in New Issue
Block a user