Commit fe4e04f330c8a03fa938ddd0b48046c80c95c7d4
1 parent
14fe0b1a
1. 增加 druid
2. 增加 skywalking
Showing
1 changed file
with
21 additions
and
0 deletions
src/main/resources/application-dev.yaml
| @@ -11,6 +11,27 @@ spring: | @@ -11,6 +11,27 @@ spring: | ||
| 11 | driver-class-name: com.mysql.jdbc.Driver | 11 | driver-class-name: com.mysql.jdbc.Driver |
| 12 | username: root | 12 | username: root |
| 13 | password: 3WLiVUBEwTbvAfsh | 13 | password: 3WLiVUBEwTbvAfsh |
| 14 | + druid: | ||
| 15 | + web-stat-filter: | ||
| 16 | + enabled: true | ||
| 17 | + stat-view-servlet: | ||
| 18 | + enabled: true | ||
| 19 | + # 设置白名单,不填则允许所有访问 | ||
| 20 | + allow: | ||
| 21 | + url-pattern: /druid/* | ||
| 22 | + # 控制台管理用户名和密码 | ||
| 23 | + login-username: | ||
| 24 | + login-password: | ||
| 25 | + filter: | ||
| 26 | + stat: | ||
| 27 | + enabled: true | ||
| 28 | + # 慢 SQL 记录 | ||
| 29 | + log-slow-sql: true | ||
| 30 | + slow-sql-millis: 100 | ||
| 31 | + merge-sql: true | ||
| 32 | + wall: | ||
| 33 | + config: | ||
| 34 | + multi-statement-allow: true | ||
| 14 | 35 | ||
| 15 | # Redis 配置。Redisson 默认的配置足够使用,一般不需要进行调优 | 36 | # Redis 配置。Redisson 默认的配置足够使用,一般不需要进行调优 |
| 16 | redis: | 37 | redis: |