The ceilometer.sample ModuleΒΆ

Sample class for holding data about a metering event.

A Sample doesn’t really do anything, but we need a way to ensure that all of the appropriate fields have been filled in by the plugins that create them.

class ceilometer.sample.Sample(name, type, unit, volume, user_id, project_id, resource_id, timestamp, resource_metadata, source=None)[source]

Bases: object

as_dict()[source]
classmethod from_notification(name, type, volume, unit, user_id, project_id, resource_id, message, source=None)[source]

Previous topic

The ceilometer.service Module

Next topic

The ceilometer.utils Module

This Page