简体   繁体   English

EC2 实例未列出 AWS 在示例中显示的所有 CloudWatch 指标

[英]EC2 instance not listing all of the CloudWatch Metrics AWS shows on examples

I created an EC2 instance, and we're adding Cloudwatch so we can add monitoring abilities to our servers, we're in the testing/learning phase, But now that i'm adding some metrics i' ve noticed that i do only have available 37 metrics for this EC2 instance, when you check this tutorial:我创建了一个 EC2 实例,我们正在添加 Cloudwatch,以便我们可以为我们的服务器添加监控功能,我们处于测试/学习阶段,但是现在我正在添加一些指标,我注意到我只有当您查看本教程时,此 EC2 实例可用的 37 个指标:

https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/viewing_metrics_with_cloudwatch.html https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/viewing_metrics_with_cloudwatch.html

It clearly shows that there are 316 metrics by default On EC2它清楚地表明 EC2 上默认有 316 个指标

We previously identified some metrics that we want to inspect on our servers and when i tried to add them into the Dashboard i noticed they are just a few in comparison with the picture on the tutorial i 've shown above.我们之前确定了一些我们想要在我们的服务器上检查的指标,当我尝试将它们添加到仪表板时,我注意到与我上面显示的教程中的图片相比,它们只是一些。

  • Enabled detailed monitoring启用详细监控
  • Configured the Agent on the Linux (Ubuntu instance)在 Linux(Ubuntu 实例)上配置 Agent
  • Pull the metrics via Amazon Cli to verify the qty of available metrics for me and it returns the same 37通过 Amazon Cli 提取指标以验证可用指标的数量,它返回相同的 37
  • I added Full Control to Cloudwatch on the role i'm currently using for this EC2 instance我在 Cloudwatch 中添加了我当前为此 EC2 实例使用的角色的完全控制

Any feedback, suggestion or comment will be highly appreciated,任何反馈、建议或评论将不胜感激,

Regards.问候。

That screenshot indicates that there 316 metrics available in that particular account.该屏幕截图表明该特定帐户中有 316 个可用指标。

CloudWatch 指标

This could be 79 instances with 4 metrics each, or any combination of instances and metrics.这可能是 79 个实例,每个实例有 4 个指标,或者实例和指标的任意组合。 It does not mean there are 316 metrics for each instance.并不意味着有316个度量每个实例。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM