Synchronization API
The idea behind this blueprint is to be able to retrieve all samples (or events) from Ceilometer to sync up with it.
The current design idea is the following:
1. Add a stored_at attribute on the samples/events that indicates when it was INSERTed in the database. This will also be useful to compare the generation timestamp with the insertion timestamp to have some performance metric about Ceilometer.
The purpose of this field will also to be used as a (non-unique) sequence indicator.
2. Add an API request that allows to request all events/samples with stored_
(3. We also could envision to not close the HTTP socket and stream events are they are inserted in the database)
Blueprint information
- Status:
- Complete
- Approver:
- Julien Danjou
- Priority:
- High
- Drafter:
- Julien Danjou
- Direction:
- Needs approval
- Assignee:
- Julien Danjou
- Definition:
- Superseded
- Series goal:
- None
- Implementation:
- Not started
- Milestone target:
- None
- Started by
- Completed by
- Julien Danjou
Related branches
Related bugs
Sprints
Whiteboard
Gerrit topic: https:/
Addressed by: https:/
sync api for sample and event
Work Items
Dependency tree
* Blueprints in grey have been implemented.