The ceilometer.agent.manager Module

class ceilometer.agent.manager.AgentManager(worker_id, conf, namespaces=None, pollster_list=None)[source]

Bases: ceilometer.service_base.PipelineBasedService

construct_group_id(discovery_group_id)[source]
create_polling_task()[source]

Create an initially empty polling task.

discover(discovery=None, discovery_cache=None)[source]
interval_task(task)[source]
join_partitioning_groups()[source]
reload_pipeline()[source]
run()[source]
setup_polling_tasks()[source]
start_polling_tasks()[source]
stop_pollsters_tasks()[source]
terminate()[source]
exception ceilometer.agent.manager.EmptyPollstersList[source]

Bases: exceptions.Exception

class ceilometer.agent.manager.PollingTask(agent_manager)[source]

Bases: object

Polling task for polling samples and notifying.

A polling task can be invoked periodically or only once.

add(pollster, source)[source]
poll_and_notify()[source]

Polling sample and notify.

exception ceilometer.agent.manager.PollsterListForbidden[source]

Bases: exceptions.Exception

class ceilometer.agent.manager.Resources(agent_manager)[source]

Bases: object

get(discovery_cache=None)[source]
static key(source_name, pollster)[source]
setup(source)[source]