Using AWS CloudWatch in Grafana https://grafana.com/docs/features/datasources/cloudwatch/html
http://IP:3000/datasources 在这个页面能够查看以前设置过的全部数据源git
点击“Add data source”能够添加一个新的数据源, 注意类型选择 CloudWatchgithub
Access key ID 和 Secret access Key 须要在AWS的 Identity and Access Management 页面里配置用户和权限json
控制台网址: https://console.aws.amazon.com/iam/home?#/homeapp
中文教程:https://docs.aws.amazon.com/zh_cn/general/latest/gr/managing-aws-access-keys.htmlide
填写完点击“Save & Test”, 若是保存成功而且可以链接到这个dataSource的话,页面会有提示spa
dashborad 模板下载:https://codeload.github.com/monitoringartist/grafana-aws-cloudwatch-dashboards/zip/master3d
解压到本地。code
经过import导入模板来新建一个dashboard。
找到刚才下载的文件夹,选择里面的“aws-efs.json”,
点击import,新的dashboard就建立完成了,须要注意的是Region是可选的,只有你的efs所在的region才有数据。