Get Instance Metric Data

POST {{aws_lightsail_base_url}}/?endTime&instanceName&metricName&period&startTime&statistics&unit&Version=2016-11-28

Request Params

KeyDatatypeRequiredDescription
endTimenullThe end time of the time period.
instanceNamenullThe name of the instance for which you want to get metrics data.
metricNamenullThe metric name to get data about.
periodnullThe granularity, in seconds, of the returned data points.
startTimenullThe start time of the time period.
statisticsnullThe instance statistics.
unitnullThe unit. The list of valid values is below.
VersionstringThe version of the API.

Request Body

{"endTime"=>42, "instanceName"=>"string", "metricName"=>"string", "period"=>42, "startTime"=>42, "statistics"=>["string"], "unit"=>"string"}