[manager]feature:[website api]monitor support keyword match (#72)
This commit is contained in:
@@ -32,6 +32,8 @@ configmap:
|
||||
type: 3
|
||||
- key: params
|
||||
type: 3
|
||||
- key: keyword
|
||||
type: 1
|
||||
# 指标组列表
|
||||
metrics:
|
||||
# 第一个监控指标组 cpu
|
||||
@@ -46,6 +48,9 @@ metrics:
|
||||
- field: responseTime
|
||||
type: 0
|
||||
unit: ms
|
||||
- field: keyword
|
||||
type: 0
|
||||
unit: 次数
|
||||
# 监控采集使用协议 eg: sql, ssh, http, telnet, wmi, snmp, sdk
|
||||
protocol: http
|
||||
# 当protocol为http协议时具体的采集配置
|
||||
@@ -78,4 +83,5 @@ metrics:
|
||||
digestAuthPassword: ^_^password^_^
|
||||
# 响应数据解析方式: default-系统规则,jsonPath-jsonPath脚本,website-网站可用性指标监控
|
||||
# todo xmlPath-xmlPath脚本,prometheus-Prometheus数据规则
|
||||
parseType: website
|
||||
parseType: website
|
||||
keyword: ^_^keyword^_^
|
||||
@@ -18,10 +18,12 @@ configmap:
|
||||
type: 1
|
||||
- key: password
|
||||
type: 2
|
||||
- key: keyword
|
||||
type: 1
|
||||
# 指标组列表
|
||||
metrics:
|
||||
# 第一个监控指标组 cpu
|
||||
# 注意:内置监控指标有 (responseTime - 响应时间)
|
||||
# 注意:内置监控指标有 (responseTime - 响应时间, keyword - 关键字数量)
|
||||
- name: summary
|
||||
# 指标组调度优先级(0-127)越小优先级越高,优先级低的指标组会等优先级高的指标组采集完成后才会被调度,相同优先级的指标组会并行调度采集
|
||||
# 优先级为0的指标组为可用性指标组,即它会被首先调度,采集成功才会继续调度其它指标组,采集失败则中断调度
|
||||
@@ -32,6 +34,9 @@ metrics:
|
||||
- field: responseTime
|
||||
type: 0
|
||||
unit: ms
|
||||
- field: keyword
|
||||
type: 0
|
||||
unit: 次数
|
||||
# 监控采集使用协议 eg: sql, ssh, http, telnet, wmi, snmp, sdk
|
||||
protocol: http
|
||||
# 当protocol为http协议时具体的采集配置
|
||||
@@ -55,4 +60,5 @@ metrics:
|
||||
digestAuthPassword: ^_^password^_^
|
||||
# 响应数据解析方式: default-系统规则,jsonPath-jsonPath脚本,website-网站可用性指标监控
|
||||
# todo xmlPath-xmlPath脚本,prometheus-Prometheus数据规则
|
||||
parseType: website
|
||||
parseType: website
|
||||
keyword: ^_^keyword^_^
|
||||
@@ -90,3 +90,8 @@ param:
|
||||
type: password
|
||||
required: false
|
||||
hide: true
|
||||
- field: keyword
|
||||
name: 关键字
|
||||
type: text
|
||||
required: false
|
||||
hide: true
|
||||
|
||||
@@ -51,4 +51,9 @@ param:
|
||||
name: 密码
|
||||
type: password
|
||||
required: false
|
||||
hide: true
|
||||
- field: keyword
|
||||
name: 关键字
|
||||
type: text
|
||||
required: false
|
||||
hide: true
|
||||
Reference in New Issue
Block a user