ceilometer.api.controllers.v2.meters
Module¶ceilometer.api.controllers.v2.meters.
Meter
(**kwargs)[source]¶Bases: ceilometer.api.controllers.v2.base.Base
One category of measurements.
ceilometer.api.controllers.v2.meters.
MeterController
(meter_name)[source]¶Bases: pecan.rest.RestController
Manages operations on a single meter.
get_all
(*args, **kwargs)[source]¶Return samples for the meter.
Parameters: |
|
---|
post
(*args, **kwargs)[source]¶Post a list of new Samples to Telemetry.
Parameters: |
|
---|
statistics
(*args, **kwargs)[source]¶Computes the statistics of the samples in the time range given.
Parameters: |
|
---|
ceilometer.api.controllers.v2.meters.
MetersController
[source]¶Bases: pecan.rest.RestController
Works on meters.
ceilometer.api.controllers.v2.meters.
OldSample
(counter_volume=None, resource_metadata=None, timestamp=None, **kwds)[source]¶Bases: ceilometer.api.controllers.v2.base.Base
A single measurement for a given meter and resource.
This class is deprecated in favor of Sample.
ceilometer.api.controllers.v2.meters.
Statistics
(start_timestamp=None, end_timestamp=None, **kwds)[source]¶Bases: ceilometer.api.controllers.v2.base.Base
Computed statistics for a query.
Except where otherwise noted, this document is licensed under Creative Commons Attribution 3.0 License. See all OpenStack Legal Documents.