aodh/ceilometer/storage
Eoghan Glynn 7c4c0e8fc0 Remove redundant meter (name,type,unit) tuples from Resource model
Fixes bug 1267162

Previously, a list of meter (name,type,unit) tuples with per-sample
cardinality was added to the Resource model by the storage driver
get_resource method.

However this potential huge and highly repetitive list was then
promptly discarded by the API layer, as the meter links in the API
Resource representation are populated via subsequent calls into
the storage driver get_meters method.

Now, we avoid the scaling issue by suppressing the creation of
this unused meter list.

Change-Id: I18dee7552836c724798ea1340e2e933c09d8a294
2014-01-09 11:29:52 +00:00
..
sqlalchemy Convert event timestamp to PrecisionTimestamp 2013-12-17 13:48:49 -07:00
__init__.py Add Event API 2013-12-20 11:35:52 -07:00
base.py Fixed spelling mistake 2014-01-07 17:34:40 +01:00
impl_db2.py Remove redundant meter (name,type,unit) tuples from Resource model 2014-01-09 11:29:52 +00:00
impl_hbase.py Remove redundant meter (name,type,unit) tuples from Resource model 2014-01-09 11:29:52 +00:00
impl_log.py storage: factorize not implemented methods 2013-12-20 00:37:51 +00:00
impl_mongodb.py Remove redundant meter (name,type,unit) tuples from Resource model 2014-01-09 11:29:52 +00:00
impl_sqlalchemy.py Remove redundant meter (name,type,unit) tuples from Resource model 2014-01-09 11:29:52 +00:00
models.py Remove redundant meter (name,type,unit) tuples from Resource model 2014-01-09 11:29:52 +00:00