ceilometer.polling.manager
Module¶ceilometer.polling.manager.
AgentManager
(worker_id, conf, namespaces=None)[source]¶Bases: cotyledon._service.Service
keystone
¶run
()[source]¶Method representing the service activity
If not implemented the process will just wait to receive an ending signal.
This method is ran into the thread and can block or return as needed
Any exceptions raised by this method will be logged and the worker will exit with status 1.
terminate
()[source]¶Gracefully shutdown the service
This method will be executed when the Service has to shutdown cleanly.
If not implemented the process will just end with status 0.
To customize the exit code, the SystemExit
exception can be
used.
Any exceptions raised by this method will be logged and the worker will exit with status 1.
ceilometer.polling.manager.
PollingManager
(conf)[source]¶Bases: ceilometer.agent.ConfigManagerBase
Polling Manager to handle polling definition
ceilometer.polling.manager.
PollingSource
(cfg)[source]¶Bases: ceilometer.agent.Source
Represents a source of pollsters
In effect it is a set of pollsters emitting samples for a set of matching meters. Each source encapsulates meter name matching, polling interval determination, optional resource enumeration or discovery.
ceilometer.polling.manager.
PollingTask
(agent_manager)[source]¶Bases: object
Polling task for polling samples and notifying.
A polling task can be invoked periodically or only once.
Except where otherwise noted, this document is licensed under Creative Commons Attribution 3.0 License. See all OpenStack Legal Documents.