Refactor Notification
With the introduction of StatsD metrics, MagnetoDB now has multiple ways of sending events. Previous events delivered through oslo messaging are no longer sufficient. We can use an event registry to store all information about events. The event notifier will use the above information to decide how to deliver the notification.
All existing notifications/
Moved google doc to spec for review: https:/
Blueprint information
- Status:
- Complete
- Approver:
- Illia Khudoshyn
- Priority:
- Low
- Drafter:
- Charles Wang
- Direction:
- Approved
- Assignee:
- Charles Wang
- Definition:
- Approved
- Series goal:
- Accepted for kilo
- Implementation:
-
Implemented
- Milestone target:
-
2015.1
- Started by
- Andrii Ostapenko
- Completed by
- Andrii Ostapenko
Related branches
Related bugs
Sprints
Whiteboard
charlesw, I've I personally of with refactoring, the only point I have is integration with Ceilometer (http://
What do you think?
~isviridov
isviridov, thanks for the comments. I've renamed the event name to comply with Ceilometer doc. Currently the event names actually do not comply. I've changed them and updated the google doc. Will update the spec as well.
charlesw, I actually thought that after the refactoring we'd only have notifications in middleware and async-task-
where they are now, in storage manager. So we'll have three places where notifications are sent from (middleware, async executor and storage manager) instead of only two that we have now
~ikhudoshyn
ikhudoshyn, thanks for pointing it out. I decided to remove the _START events and rename the _END events to CRETAE_TABLE and DELETE_TABLE to comply with Ceilometer doc.
The events, however, will remain in storage manager's simple and async_simple implementations since async_task_executor is only one of the implementations configurable. Only two places will send such events though: middleware for request events, simple_
Gerrit topic: https:/
Addressed by: https:/
Add real time request metrics and refactor notification
Gerrit topic: https:/