CmdID / aws / aws lightsail
aws lightsail get-instance-metric-data
Returns the data points for the specified Amazon Lightsail instance metric, given an instance name. AWS CLI reference
7 options Its page in the AWS CLI reference
Options
--end-timeThe end time of the time period.--instance-nameThe name of the instance for which you want to get metrics data.--metric-nameThe metric for which you want to return information.--periodThe granularity, in seconds, of the returned data points.--start-timeThe start time of the time period.--statisticsThe statistic for the metric.--unitThe unit for the metric data request.