spring:
|
datasource:
|
type: com.alibaba.druid.pool.DruidDataSource
|
druid:
|
driver-class-name: com.ibm.db2.jcc.DB2Driver
|
url: jdbc:db2://192.168.122.240:50000/MgEms:currentSchema=EXPERT;
|
username: db2admin
|
password: Pwd123456
|
initial-size: 10
|
max-active: 100
|
min-idle: 10
|
max-wait: 60000
|
pool-prepared-statements: true
|
max-pool-prepared-statement-per-connection-size: 20
|
time-between-eviction-runs-millis: 60000
|
min-evictable-idle-time-millis: 300000
|
#validationQuery是用来验证数据库连接的查询语句,这个查询语句必须是至少返回一条结果的SELECT语句。每种数据库都有各自的验证语句
|
validation-query: select 1 from sysibm.sysdummy1
|
test-while-idle: true
|
test-on-borrow: false
|
test-on-return: false
|
stat-view-servlet:
|
enabled: true
|
url-pattern: /druid/*
|
#login-username: admin
|
#login-password: admin
|
filter:
|
stat:
|
log-slow-sql: true
|
slow-sql-millis: 1000
|
merge-sql: false
|
wall:
|
config:
|
multi-statement-allow: true
|
|
oadp:
|
domain: http://172.16.1.148:6010
|
|
influx-db:
|
org: IAILab
|
bucket: whs_data
|
token: vhNZN5bZ4c2aa9daQUsmYtaM5qExnLVZYGE0fscVV9mAQhzAnFfExVdPWKrfGVtKPVPUUmM_xfWAJZ1iqqh0qQ==
|