diff options
author | Vitaly Gridnev <vgridnev@mirantis.com> | 2016-02-17 15:16:45 +0300 |
---|---|---|
committer | Vitaly Gridnev <vgridnev@mirantis.com> | 2016-03-02 21:39:19 +0000 |
commit | 85ca3e89a6a04ed831ecd5471d31a43577491e43 (patch) | |
tree | 7c6d485a7c4cc8a7cfd9fb3b7c279636c02bbb21 /etc | |
parent | 501143062b82da180b0f9c40e4a505d833892e92 (diff) | |
download | ceilometer-85ca3e89a6a04ed831ecd5471d31a43577491e43.tar.gz |
[sahara] add events definitions regarding new notifications
on sahara side we added new events related to current cluster
health. we want to collect statistic based on the cluster health,
like how many healthy clusters we have, and so on.
Health of the cluster will describe current state of cluster more
precisely.
Partially-implements blueprint: cluster-verification
Depends-On: Iac74a7bdec0f59a3720e17a682268faea36a45f3
Change-Id: Iea0f37cd2fe31e740a1ac5d02fd96c2f6b35495c
Diffstat (limited to 'etc')
-rw-r--r-- | etc/ceilometer/event_definitions.yaml | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/etc/ceilometer/event_definitions.yaml b/etc/ceilometer/event_definitions.yaml index 763ff49f..c92e9dd0 100644 --- a/etc/ceilometer/event_definitions.yaml +++ b/etc/ceilometer/event_definitions.yaml @@ -144,6 +144,23 @@ fields: _context_user_id resource_id: fields: payload.cluster_id +- event_type: sahara.cluster.health + traits: &sahara_health + <<: *sahara_crud + verification_id: + fields: payload.verification_id + health_check_status: + fields: payload.health_check_status + health_check_name: + fields: payload.health_check_name + health_check_description: + fields: payload.health_check_description + created_at: + type: datetime + fields: payload.created_at + updated_at: + type: datetime + fields: payload.updated_at - event_type: ['identity.user.*', 'identity.project.*', 'identity.group.*', 'identity.role.*', 'identity.OS-TRUST:trust.*', 'identity.region.*', 'identity.service.*', 'identity.endpoint.*', 'identity.policy.*'] traits: &identity_crud |