Implement environment audit reports

Registered by Margarita Shakhova

Add notifications about environment events that are required for
tracking. These are AMQP notifications and oslo.messaging library
is used for sending them.

The follow event types are provided:

 - environment.deploy.end
   This event is issued on successful finish of environment deployment,
   provides general information about environment and also deployment
   start and finish times

 - environment.delete.end
   This event is issued on environment delete (and abandon as well)

 - environment.exists
   This is a period event, it's issued for every existing environment
   that has successful deployments

There are 2 new configuration options controlling these notifications:

 - stats.env_audit_period
   Controls how often to send environment.exists notification, by
   it's once per hour (60 minutes)

 - env_audit_enabled
   Allows to completely disable environment-related notifications. By
   default notifications are enabled.

Blueprint information

Status:
Complete
Approver:
None
Priority:
Undefined
Drafter:
Margarita Shakhova
Direction:
Needs approval
Assignee:
Margarita Shakhova
Definition:
New
Series goal:
None
Implementation:
Implemented
Milestone target:
None
Started by
Margarita Shakhova
Completed by
Margarita Shakhova

Related branches

Sprints

Whiteboard

Gerrit topic: https://review.openstack.org/#q,topic:bp/environment-audit-reports,n,z

Addressed by: https://review.openstack.org/480023
    Implement environment audit reports

(?)

Work Items

This blueprint contains Public information 
Everyone can see this information.

Subscribers

No subscribers.