输入banner图图片脚本导航/分类

Druid数据源SQL数据库与Spring监控

配置

第一步

web.xml 配置 WebStatFilter

第二步

WebStatFilter 配置拦截参数,Cookie或Session中的用户名

第三步

访问Servlet /druid 查看监控结果

 

配置web.xml WebStatFilter https://github.com/alibaba/druid/wiki/配置

 技术图片

 URL监控效果

技术图片

 Session监控效果

技术图片

SQL监控配置说明

条件: 系统使用Druid数据源,并已经引入druid-xxx.jar包

 

 

步骤

配置

第一步

web.xml 配置监控Servlet

第二步

web.xml 配置Servlet访问密码

第三步

访问Servlet /druid 查看监控结果

web.xml配置

 https://github.com/alibaba/druid/wiki/配置_StatViewServlet配置

 

 技术图片

 

SQL监控效果

技术图片

Druid数据源SQL数据库与Spring监控

标签:font   引入   ble   height   text   alibaba   cin   col   使用