ceilometer.polling.discovery.endpoint
Module¶ceilometer.polling.discovery.endpoint.
EndpointDiscovery
(conf)[source]¶Bases: ceilometer.polling.plugin_base.DiscoveryBase
Discovery that supplies service endpoints.
This discovery should be used when the relevant APIs are not well suited to dividing the pollster’s work into smaller pieces than a whole service at once.
discover
(manager, param=None)[source]¶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: |
|
---|
Except where otherwise noted, this document is licensed under Creative Commons Attribution 3.0 License. See all OpenStack Legal Documents.