DEPRECATED, Event storage and REST API for Ceilometer
Go to file
Jay Pipes 545200dd22 Add a specialized Event Type model and db table
As the events API gets fleshed out and more robust,
it will become increasingly necessary to ensure that the
database schema modeling events has the ability to quickly
retrieve a list of event types. With the current schema
having a foreign key from event to unique_name (the
monolithic generic string key lookup table), in order to
get a simple list of event types, one needs to do the following:

SELECT DISTINCT e.unique_name FROM event;

Not only is this inefficient, but the readability of the
model and database schema suffers from the generalization of
the unique name field relationship. With this patch, a new
event_type table is added to the schema to allow for quick
and easy lookups of event types like so:

SELECT id, desc FROM event_type;

This will lead to future ability to categorize
event types with ease. Instead of adding columns to the
monolithic unique_name table, we would only need to add a foreign
key relationship to the new event_type table tying the event_type
to a future event_type_class table...

This patch also renames "event_name" to "event_type" everywhere
to avoid confusion.

Change-Id: I6e630ec534f16ba1bb9370d1859ae7640fc6b05b
Partial-Bug: 1211015
2013-11-23 08:57:14 -07:00
bin Corrected import order 2013-11-13 14:41:33 +08:00
ceilometer Add a specialized Event Type model and db table 2013-11-23 08:57:14 -07:00
doc Merge "Fix the developer documentation of the alarm API" 2013-10-30 13:12:40 +00:00
etc Merge "Sync log from oslo" 2013-11-13 13:02:12 +00:00
nova_tests Fix failing nova_tests tests 2013-11-05 11:09:56 +01:00
tools Use built-in print() instead of print statement 2013-09-20 17:21:46 -07:00
.coveragerc add coverage config file to control module coverage report 2013-09-30 10:52:34 +00:00
.gitignore Replace nose with testr 2013-05-18 18:06:38 +10:00
.gitreview Update .gitreview for openstack. 2012-11-11 19:13:08 +00:00
.testr.conf Move tests into ceilometer module 2013-11-13 15:32:31 +01:00
CONTRIBUTING.rst Switch to pbr. 2013-05-11 12:44:54 -04:00
LICENSE include a copy of the ASL 2.0 2013-03-15 14:25:48 +00:00
MAINTAINERS add MAINTAINERS file 2013-09-05 12:18:43 -04:00
README.rst Rename README.md to README.rst 2013-07-14 21:09:38 +02:00
ReleaseNotes Update documentation URL 2012-12-05 10:22:43 +01:00
babel.cfg Ground work for transifex-ify ceilometer. 2012-12-18 10:14:03 +08:00
openstack-common.conf Sync log_handler from Oslo 2013-10-25 11:40:35 -05:00
requirements.txt Updated from global requirements 2013-10-24 13:15:20 +00:00
run-tests.sh Fail tests early if mongod is not found 2013-09-23 15:36:19 -04:00
setup.cfg Support building wheels (PEP-427) 2013-11-19 10:07:34 +01:00
setup.py Update requirements 2013-09-19 11:42:10 +02:00
test-requirements.txt Updated from global requirements 2013-11-15 16:48:22 +00:00
tox.ini full pep8 compliance (part 2) 2013-11-21 12:35:01 -05:00

README.rst

ceilometer

See the ReleaseNotes document and the project home for more info.

http://launchpad.net/ceilometer