Constructing structure of events in HBase

Registered by Igor Degtiarov

This blueprint has been superseded. See the newer blueprint "Enable event feature on HBase" for updated plans.

The purpose of this bp is to construct convenient structure of event's storage in HBase.

Proposed preliminary structure of Events in HBase:

table: Events
    - rowkey: event_id + reversed_timestamp
                  - column: event_type => string with description of event
                  - [list of columns: trait_id + trait_desc + trait_type=> trait_data]

Structure that is proposed will support next queries:
- event’s generation time
- event id
- event type
- trait: id, description, type

Blueprint information

Status:
Complete
Approver:
Nadya Privalova
Priority:
Undefined
Drafter:
Igor Degtiarov
Direction:
Needs approval
Assignee:
None
Definition:
Superseded
Series goal:
Proposed for juno
Implementation:
Not started
Milestone target:
None
Completed by
Nadya Privalova

Related branches

Sprints

Whiteboard

The main idea is to find out all possible relationships between data that are stored inside Event metric. According to this relations and tasks of filtering stored data it will become clear what structure of Event model in Hbase will be the most convenient.

Question (nprivalova): Why do we need a separate blueprint? https://blueprints.launchpad.net/ceilometer/+spec/hbase-events-feature is enough I guess

Answer (idegtiarov): I thought it was a good idea to discuss separately all queries that is necessary for Events. This discussion or research may be very useful for Events implementation on other backends. The purpose is to try to collect all possible queries for Events, and after that correct proposed Event structure on HBase.
What do you think about it?

(?)

Work Items

This blueprint contains Public information 
Everyone can see this information.