View source: R/lightsail_operations.R
lightsail_get_instance_metric_data | R Documentation |
Returns the data points for the specified Amazon Lightsail instance metric, given an instance name.
See https://www.paws-r-sdk.com/docs/lightsail_get_instance_metric_data/ for full documentation.
lightsail_get_instance_metric_data(
instanceName,
metricName,
period,
startTime,
endTime,
unit,
statistics
)
instanceName |
[required] The name of the instance for which you want to get metrics data. |
metricName |
[required] The metric for which you want to return information. Valid instance metric names are listed below, along with the most useful
|
period |
[required] The granularity, in seconds, of the returned data points. The |
startTime |
[required] The start time of the time period. |
endTime |
[required] The end time of the time period. |
unit |
[required] The unit for the metric data request. Valid units depend on the metric
data being requested. For the valid units to specify with each available
metric, see the |
statistics |
[required] The statistic for the metric. The following statistics are available:
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.