[manager,webapp]优化监控类型参数,告警处理提示
This commit is contained in:
@@ -9,14 +9,8 @@ configmap:
|
||||
type: 0
|
||||
- key: uri
|
||||
type: 1
|
||||
- key: method
|
||||
type: 1
|
||||
- key: ssl
|
||||
type: 1
|
||||
- key: username
|
||||
type: 1
|
||||
- key: password
|
||||
type: 2
|
||||
# 指标组列表
|
||||
metrics:
|
||||
# 第一个监控指标组 cpu
|
||||
@@ -42,15 +36,9 @@ metrics:
|
||||
# url请求接口路径
|
||||
url: ^_^uri^_^
|
||||
# 请求方式 GET POST PUT DELETE PATCH
|
||||
method: ^_^method^_^
|
||||
method: GET
|
||||
# 是否启用ssl/tls,即是http还是https,默认false
|
||||
ssl: ^_^ssl^_^
|
||||
# 认证
|
||||
authorization:
|
||||
# 认证方式: Basic Auth, Digest Auth, Bearer Token
|
||||
type: Basic Auth
|
||||
basicAuthUsername: ^_^username^_^
|
||||
basicAuthPassword: ^_^password^_^
|
||||
# 响应数据解析方式: default-系统规则,jsonPath-jsonPath脚本,website-网站可用性指标监控
|
||||
# todo xmlPath-xmlPath脚本,prometheus-Prometheus数据规则
|
||||
parseType: website
|
||||
Reference in New Issue
Block a user