Resolve Issues with CloudWatch GetMetricStatistics API Call Not Returning Data Points
Period
If the metric isn't pushed for the specified period value, no data points are returned.
For example, if you enabled basic monitoring for an instance, EC2 pushes data points every five minutes. Let's say that EC2 pushes the data points at time stamps 12:00, 12:05, 12:10, and so on. Now, if you have your start time and end time within 12:01 and 12:04 and then try to retrieve the data points with a period of 60 seconds, you won't see any data points. It's a best practice to have your start time and end time extend beyond the minimum granularity offered by the metric (5 minutes in this case), or that you use a period that is greater than or equal to the minimum granularity that is offered by the metric.
Statistics
To retrieve percentile statistics for a metric, use ExtendedStatistic.
CloudWatch uses raw data points to calculate percentiles. If you publish data using a statistic set, you can retrieve percentile statistics for this data only if one of the following conditions are true:
- The SampleCount of the statistic set is 1.
- The Min and the Max of the statistic set are equal.
Unit
- If the specified unit is different from the one that is configured for the metric, no data points are returned.
- If you don't specify the unit argument, data points for all units are returned.
Start time and end time
- Format the start time and the end time arguments as specified in the GetMetricStatistics documentation.
- If no data points are pushed for the metric between the start time and end time, then no data points are returned.
Note: Data points with time stamps from 24 hours ago or longer can take at least 48 hours to become available for get-metric-statistics from the time they are submitted. For more information, see put-metric-data.
相關推薦
Resolve Issues with CloudWatch GetMetricStatistics API Call Not Returning Data Points
Period If the metric isn't pushed for the specified period value, no data points are returned. For example, if you enable
Resolve Issues with Limits for ENIs
Amazon Web Services is Hiring. Amazon Web Services (AWS) is a dynamic, growing business unit within Amazon.com. We are currently hiring So
Resolve Issues With Docker Expanding the Thin Pool
Docker attempts to automatically expand its thin pool but fails with the message "Insufficient free space" or "Failed to extend thin docker-doc
Resolve Issues with the AWS Activate Business Support Plan
Amazon Web Services is Hiring. Amazon Web Services (AWS) is a dynamic, growing business unit within Amazon.com. We are currently hiring So
Resolve Issues with RDS Instances in the Failed State
The failed state for RDS DB instances usually indicates that the hardware associated with your RDS DB instance failed, and that AWS wasn’t able
Resolve Issues with Failing Stack Updates After Deleting CloudFormation Resources
You might be able to re-create a resource that is created manually by name. For example, IAM roles are tracked by name. If you accidentally de
Resolve Issues with Throttled DynamoDB Tables
Partitions are usually throttled when they are accessed by your downstream applications much more frequently than other partitions (that is, a
Resolve Issues with Potentially
Change your AWS root account password and the passwords of any IAM users It’s a best practice to change your
Resolve Issues with Redshift Queries Exceeding WLM Timeouts
A query hopped to another queue If a read query reaches the timeout limit for its current WLM queue or there is a query monitoring
Resolve Issues with Corrupt or Missing Network Drivers on Windows EC2 Instances
reg load HKLM\AWSTempSoftware D:\Windows\System32\config\SOFTWARE reg add HKLM\AWSTempSoftware\Microsoft\Windows\CurrentVersion\RunOnce /t REG_S
Resolve Issues With Amazon Athena Queries Returning Empty Results
Here are some common reasons why the query might return zero records. File selected in crawler settings If you're using a
Could not resolve view with name '***' in servlet with name 'dispatcher'
urn 異常 避免 href 出現 view hist 異步 rop 今天在開發中遇到了一個問題,控制層使用的是SpringMVC框架。 @RequestMapping("historyDetail") private String History(Mod
SpringBoot內建SpringMVC控制器轉發到對應的JSP頁面報Could not resolve view with name 'xx' in servlet with name dispa
錯誤如下: 請求: 處理方式: 在主啟動類中增加一下程式碼即可解決問題: @Bean public InternalResourceViewResolver setupViewResolver(){ InternalResourceViewResolver res
Show HN: Trigger an email sequence with an API call (Seeking feedback)
Hello! I'm launching (aka "it's online") an early stage product that I'm building called ReplyBin. It's a functioning product, but pretty bare bones. I'm h
啟動hadoop時報錯ssh: Could not resolve hostname with: Name or service not know
只需把export HADOOP_OPTS=“ H A D
【error】HTTP Status 500 - Could not resolve view with name 'xxx' in servlet
HTTP Status 500 - Could not resolve view with name 'xxx' in servlet with name 'springmvc' type Exception report message Could not resolve view with n
Resolve Intermittent Connection Issues With NAT Instances
Amazon Web Services is Hiring. Amazon Web Services (AWS) is a dynamic, growing business unit within Amazon.com. We are currently hiring So
Fix Issues With Mail Providers Not Identifying SPF Records
Although the SPF record seems to be working correctly, some tools might indicate that the SPF records doesn't exist. With most providers, the S
Resolve 500 Errors With Lambda and API Gateway
If you build an API with Lambda integration using the API Gateway console, the console automatically requests to add the required permissions f
javax.servlet.ServletException: Could not resolve view with name 'xxx' in servlet with name
spring: application: name: weal-caen mvc: static-path-pattern: /static/** freemarker: enabled: true #所有的檔案在這下面