!3 feat: http采集功能中增加post的body和content-type

* 增加http post内容
This commit is contained in:
random-chat
2022-02-12 08:58:49 +00:00
committed by tomsun28
parent 5556ec1d0c
commit ef0ba111cc
7 changed files with 80 additions and 1 deletions

View File

@@ -20,6 +20,10 @@ configmap:
type: 1
- key: password
type: 2
- key: contentType
type: 1
- key: payload
type: 1
# 指标组列表
metrics:
# 第一个监控指标组 cpu
@@ -48,6 +52,10 @@ metrics:
method: ^_^method^_^
# 是否启用ssl/tls,即是http还是https,默认false
ssl: ^_^ssl^_^
payload: ^_^payload^_^
# 请求头内容
headers:
content-type: ^_^contentType^_^
# 认证
authorization:
# 认证方式: Basic Auth, Digest Auth, Bearer Token