spring:
datasource:
druid:
stat-view-servlet:
enabled: true
url-pattern: /druid/*
login-username: test
login-password: test
# allow: 127.0.0.1
# deny:
访问 http://127.0.0.1:8097/druid/login.html
经测试,allow不配置默认只允许127.0.0.1,配置后只允许配置的ip
池中连接数 | 1 | 当前连接池中的数目 |
---|---|---|
池中连接数峰值 | 1 | 连接池中数目的峰值 |
池中连接数峰值时间 | 2021-11-29 20:46:51 | 连接池数目峰值出现的时间 |
活跃连接数 | 0 | 当前连接池中活跃连接数 |
活跃连接数峰值 | 1 | 连接池中活跃连接数峰值 |
活跃连接数峰值时间 | 2021-11-29 20:46:52 | 活跃连接池峰值出现的时间 |
逻辑连接打开次数 | 25 | 产生的逻辑连接建立总数 |
逻辑连接关闭次数 | 25 | 产生的逻辑连接关闭总数 |
逻辑连接错误次数 | 0 | 产生的逻辑连接出错总数 |
逻辑连接回收重用次数 | 0 | 逻辑连接回收重用次数 |
物理连接打开次数 | 1 | 产生的物理连接建立总数 |
物理关闭数量 | 0 | 产生的物理关闭总数 |
物理连接错误次数 | 0 | 产生的物理连接失败总数 |
从逻辑连接打开/关闭和物理连接打开/关闭次数可以看出使用连接池的好处