Prometheus搭建监控系统(四)--grafana连接aws-cloudwatch

如果想要检测AWS RDS的cpu占用、内存占用,可以用AWS自带的cloudwatch。

AWS权限

只要开启服务就可以进行检测。
想要用grafana连接cloudwatch,需要配置权限

在这里插入图片描述
点击Security credentials–访问密钥–添加密钥
将信息保存。

Grafana连接

在grafana添加新的数据源,选择CloudWatch。
在这里插入图片描述
填写相应的ID、Key即可。

导入模板

https://grafana.com/grafana/dashboards/707-aws-rds/
将现成的AWS模版导入,进行一些调整即可。

猜你喜欢

转载自blog.csdn.net/majiayu000/article/details/129695439