使用浏览器访问Grafana WEB界面
http://grafana.k8stech.net
user/pass:admin/admin
Grafana添加数据源
![监控神器Prometheus(4)-鸿蒙开发者社区 监控神器Prometheus(4)-鸿蒙开发者社区](https://dl-harmonyos.51cto.com/images/202206/781792769b1c60b2121048cfbbc50fb3514cf1.jpg)
grafana导入Dashboard
![监控神器Prometheus(4)-鸿蒙开发者社区 监控神器Prometheus(4)-鸿蒙开发者社区](https://dl-harmonyos.51cto.com/images/202206/764e6d957acf98b298c800b9794665ac337854.png)
![监控神器Prometheus(4)-鸿蒙开发者社区 监控神器Prometheus(4)-鸿蒙开发者社区](https://dl-harmonyos.51cto.com/images/202206/292dd18714b0d2f90798257fc2fb419f43e132.png)
![监控神器Prometheus(4)-鸿蒙开发者社区 监控神器Prometheus(4)-鸿蒙开发者社区](https://dl-harmonyos.51cto.com/images/202206/786b7e187deb41805f7641f980114a0d9d3a9d.jpg)
dashboard-id:11074
- 官网:https://grafana.com/dashboards
- host-dashboard-1:https://grafana.com/grafana/dashboards/11074
- host-dashboard-2:https://grafana.com/dashboards/8919
- database-dashboard:https://grafana.com/dashboards/7362
至此,Prometheus安装与简单的配置、集成Grafana展示已经完成;对于Alertmanager,在此篇中仅仅是对邮件、Dingtalk、企业微信做了集成,下一篇幅,我们详细的讲讲Alertmanager的配置与Rule规则等。
欢迎大家关注我的公众号ID:k8stech
文章转自公众号:Kubernetes技术栈