3.7. Sample

Overview

The information of samples are included.

Data Type

parameter description datatype
metadata metadata (non-use) -
meter the meter name String
display_name the display name of the meter String
project_id ID of the project which the resource is belonging to String
recorded_at the date and time when the sample was recorded datetime
resource_id the unique id of the metering resource String
namespace namespace of the metering SDP String
source source (non-use) -
timestamp the date and time in iso8601 format when the measurement was made datetime
type MeterType String
unit the unit of measure for the volume value string
user_id user id (non-use) -
volume the actual measured value float

Data Sample

[
    {
       "metadata":"",
       "meter":"nova.cpu.utilization.percents",
       "display_name":"CpuUtilization",
       "project_id":"29fb4edda2d642ccaab20eb5c27d081f",
       "recorded_at":"2015-11-14T03:10:00+00:00",
       "resource_id":"nova_testvm02e6f-b266-4bef-a23a-b4e7446f259e",
       "namespace":"nova",
       "source":"",
       "timestamp":"2015-12-03T07:26:54+00:00",
       "type":"gauge",
       "unit":"percent",
       "user_id":"",
       "volume":50.0
    }
]