鉴于此 cloudwatch 仪表板 json 片段:
{
"type": "metric",
"x": 3,
"y": 0,
"width": 3,
"height": 3,
"properties": {
"metrics": [
[
"AWS/ApiGateway",
"Count",
"ApiName",
"my-api",
{
"stat": "Sum"
}
]
],
"view": "singleValue",
"region": "eu-west-1",
"period": 300,
"title": "Number of api calls"
}
}
小部件默认显示“最新值”。根据下面的屏幕截图,我想查看“时间范围值”。如何使用 cloudwatch 仪表板 json 指定该设置?