The ceilometer.api.hooks ModuleΒΆ

class ceilometer.api.hooks.ConfigHook[source]

Bases: pecan.hooks.PecanHook

Attach the configuration object to the request.

That allows controllers to get it.

ConfigHook.before(state)[source]
class ceilometer.api.hooks.DBHook(storage_connection, alarm_storage_connection)[source]

Bases: pecan.hooks.PecanHook

DBHook.before(state)[source]
class ceilometer.api.hooks.PipelineHook[source]

Bases: pecan.hooks.PecanHook

Create and attach a pipeline to the request.

That allows new samples to be posted via the /v2/meters/ API.

PipelineHook.before(state)[source]
class ceilometer.api.hooks.TranslationHook[source]

Bases: pecan.hooks.PecanHook

TranslationHook.after(state)[source]
TranslationHook.before(state)[source]

Previous topic

The ceilometer.data_processing Module

Next topic

The ceilometer.api.app Module

This Page