06 2019 档案

摘要:上一篇文章中讲了如何利用Prometheus和Grafana监控SpringBoot应用的JVM信息,这次就来看看如何监控 服务器运行状态,先列出用到的工具: Prometheus node_exporter 0.17 Grafana Grafana Dashboard(8919) Promethe 阅读全文
posted @ 2019-06-30 12:24 二十六度半 阅读(700) 评论(0) 推荐(0) 编辑
摘要:一、用到的工具 Prometheus Grafana Micrometer Grafana Dashboard (4701) 二、安装和运行Prometheus 2. 配置(修改Prometheus目录下的prometheus.yml文件) 3. 启动(nohup ./prometheus --co 阅读全文
posted @ 2019-06-27 17:28 二十六度半 阅读(946) 评论(0) 推荐(0) 编辑
摘要:一、添加依赖 二、实体类中添加校验规则注解 JSR-303常用注解如下: //空检查 @NotNull 对象不为null @NotBlank 字符串不为null且不是”“ @NotEmpty 集合不为null且不为空 //长度检查 @Size(min = 1, max = 10) 字符串长度或集合大 阅读全文
posted @ 2019-06-02 22:23 二十六度半 阅读(4106) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示