Synchronization API

Registered by Julien Danjou

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_at>=<timestamp>.

(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
Completed by
Julien Danjou

Related branches

Sprints

Whiteboard

Gerrit topic: https://review.openstack.org/#q,topic:sileht/sync-api,n,z

Addressed by: https://review.openstack.org/131185
    sync api for sample and event

(?)

Work Items

Dependency tree

* Blueprints in grey have been implemented.

This blueprint contains Public information 
Everyone can see this information.

Subscribers

No subscribers.