Bug 1046771

Summary: [RFE][ceilometer]: Synchronization API
Product: Red Hat OpenStack Reporter: RHOS Integration <rhos-integ>
Component: RFEsAssignee: RHOS Maint <rhos-maint>
Status: CLOSED UPSTREAM QA Contact:
Severity: high Docs Contact:
Priority: unspecified    
Version: unspecifiedCC: markmc, yeylon
Target Milestone: ---Keywords: FutureFeature
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
URL: https://blueprints.launchpad.net/ceilometer/+spec/sync-api
Whiteboard: upstream_milestone_none upstream_status_not-started upstream_definition_superseded
Fixed In Version: Doc Type: Enhancement
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-03-19 17:43:48 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description RHOS Integration 2013-12-26 23:05:56 UTC
Cloned from launchpad blueprint https://blueprints.launchpad.net/ceilometer/+spec/sync-api.

Description:

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)

Specification URL (additional information):

None