[manager,collector]mariadb,postgresql支持timeout,fix jdbc解析异常 (#36)
* [manager,collector]fix jdbc解析异常,mariadb支持timeout * [manager]postgresql支持timeout设置
This commit is contained in:
@@ -18,8 +18,6 @@ configmap:
|
||||
type: 1
|
||||
- key: timeout
|
||||
type: 0
|
||||
required: false
|
||||
defaultValue: 3
|
||||
- key: url
|
||||
type: 1
|
||||
# 指标组列表
|
||||
@@ -107,6 +105,7 @@ metrics:
|
||||
username: ^_^username^_^
|
||||
password: ^_^password^_^
|
||||
database: ^_^database^_^
|
||||
timeout: ^_^timeout^_^
|
||||
# SQL查询方式: oneRow, multiRow, columns
|
||||
queryType: columns
|
||||
# sql
|
||||
@@ -139,6 +138,7 @@ metrics:
|
||||
username: ^_^username^_^
|
||||
password: ^_^password^_^
|
||||
database: ^_^database^_^
|
||||
timeout: ^_^timeout^_^
|
||||
# SQL查询方式: oneRow, multiRow, columns
|
||||
queryType: columns
|
||||
# sql
|
||||
|
||||
Reference in New Issue
Block a user