Base class for plugins.
Bases: object
Discover resources to monitor.
The most fine-grained discovery should be preferred, so the work is the most evenly distributed among multiple agents (if they exist).
For example: if the pollster can separately poll individual resources, it should have its own discovery implementation to discover those resources. If it can only poll per-tenant, then the TenantDiscovery should be used. If even that is not possible, use EndpointDiscovery (see their respective docstrings).
Parameters: |
|
---|
Bases: tuple
ExchangeTopics(exchange, topics)
Bases: ceilometer.plugin.PluginBase
Base class for plugins that support the notification API.
Return a sequence of oslo.messaging.Target.
Sequence is defining the exchange and topics to be connected for this plugin. :param conf: Configuration.
RPC endpoint for notification messages
When another service sends a notification over the message bus, this method receives it.
Parameters: |
|
---|
Return a sequence of Counter instances for the given message.
Parameters: | message – Message to process. |
---|
Return samples produced by process_notification.
Samples produced for the given notification. :param context: Execution context from the service or RPC call :param notification: The notification to process.
Bases: object
Base class for all plugins.
Bases: ceilometer.plugin.PluginBase
Base class for plugins that support the polling API.
Return a sequence of Counter instances from polling the resources.
Parameters: |
|
---|