The ceilometer.event.storage.models
Module¶
Model classes for use in the events storage API.
-
class
ceilometer.event.storage.models.
Event
(message_id, event_type, generated, traits, raw)[source]¶ Bases:
ceilometer.storage.base.Model
A raw event from the source system. Events have Traits.
Metrics will be derived from one or more Events.
-
class
ceilometer.event.storage.models.
Trait
(name, dtype, value)[source]¶ Bases:
ceilometer.storage.base.Model
A Trait is a key/value pair of data on an Event.
The value is variant record of basic data types (int, date, float, etc).