openstack.telemetry.v2.sample

openstack.telemetry.v2.sample

The Sample Class

The Sample class inherits from Resource.

class openstack.telemetry.v2.sample.Sample(_synchronized=False, **attrs)

Caution

This API is a work in progress and is subject to change.

The base resource

Parameters:_synchronized (bool) – This is not intended to be used directly. See new() and existing().
generated_at = None

When the sample has been generated.

message_id = None

The message ID

metadata = None

Arbitrary metadata associated with the sample

counter_name = None

The meter name this sample is for

counter_type = None

The meter name this sample is for

project_id = None

The ID of the project this sample was taken for

recorded_at = None

When the sample has been recorded.

resource_id = None

The ID of the resource this sample was taken for

source = None

The name of the source that identifies where the sample comes from

type = None

The meter type

unit = None

The unit of measure

user_id = None

The ID of the user this sample was taken for

volume = None

The metered value

Creative Commons Attribution 3.0 License

Except where otherwise noted, this document is licensed under Creative Commons Attribution 3.0 License. See all OpenStack Legal Documents.