Revision history [back]

Have a look at ceilometer's API. The documentation should provide you enough to get started.