← Back to team overview

openstack team mailing list archive

[metering] notification metadata

 

I am working on bug 1006120, adding metadata to the instance-related
metering events. It's easy to add location data like availability zone to
the pollsters because the agent has an object from the database with all of
the information about the instance (we will have to change that, but
presumably we will be able to get the data via RPC, too). The notification
plugins however, only have the data in the incoming message, and those
messages don't include all of the data about the instance. My current plan
is to have the collector code that processes notifications look up the
instance in the database to get the rest of the data.

Does anyone have any thoughts on this plan?

https://bugs.launchpad.net/ceilometer/+bug/1006120

Follow ups