Caution
BETA: This API is a work in progress and is subject to change.
For details on how to use telemetry, see Using OpenStack Telemetry
The telemetry high-level interface is available through the telemetry
member of a Connection
object. The
telemetry
member will only be added if the service is detected.
openstack.telemetry.v2._proxy.
Proxy
(session)¶Caution
This API is a work in progress and is subject to change.
find_capability
(name_or_id, ignore_missing=True)¶Find a single capability
Parameters: |
|
---|---|
Returns: | One |
capabilities
(**query)¶Return a generator of capabilities
Parameters: | **query (kwargs) – Optional query parameters to be sent to limit the resources being returned. |
---|---|
Returns: | A generator of capability objects |
Return type: | Capability |
find_meter
(name_or_id, ignore_missing=True)¶Find a single meter
Parameters: |
|
---|---|
Returns: | One |
meters
(**query)¶Return a generator of meters
Parameters: | **query (kwargs) – Optional query parameters to be sent to limit the resources being returned. |
---|---|
Returns: | A generator of meter objects |
Return type: | Meter |
find_resource
(name_or_id, ignore_missing=True)¶Find a single resource
Parameters: |
|
---|---|
Returns: | One |
get_resource
(resource)¶Get a single resource
Parameters: | resource – The value can be the ID of a resource or a
Resource
instance. |
---|---|
Returns: | One Resource |
Raises: | ResourceNotFound
when no resource can be found. |
resources
(**query)¶Return a generator of resources
Parameters: | **query (kwargs) – Optional query parameters to be sent to limit the resources being returned. |
---|---|
Returns: | A generator of resource objects |
Return type: | Resource |
create_sample
(**attrs)¶Create a new sample from attributes
Parameters: | attrs (dict) – Keyword arguments which will be used to create
a Sample ,
comprised of the properties on the Sample class. |
---|---|
Returns: | The results of sample creation |
Return type: | Sample |
find_sample
(name_or_id, ignore_missing=True)¶Find a single sample
Parameters: |
|
---|---|
Returns: | One |
samples
(meter, **query)¶Return a generator of samples
Parameters: |
|
---|---|
Returns: | A generator of sample objects |
Return type: |
find_statistics
(name_or_id, ignore_missing=True)¶Find a single statistics
Parameters: |
|
---|---|
Returns: | One |
statistics
(meter, **query)¶Return a generator of statistics
Parameters: |
|
---|---|
Returns: | A generator of statistics objects |
Return type: |
Except where otherwise noted, this document is licensed under Creative Commons Attribution 3.0 License. See all OpenStack Legal Documents.