| { | |
| "detected": false, | |
| "collector": "", | |
| "monitor": { | |
| "intervals": 60, | |
| "tags": [], | |
| "app": "api", | |
| "host": "127.0.0.1", | |
| "name": "{{.param.monitorHTTP}}" | |
| }, | |
| "params": [ | |
| { | |
| "field": "host", | |
| "type": 1, | |
| "paramValue": "127.0.0.1" | |
| }, | |
| { | |
| "field": "port", | |
| "type": 0, | |
| "paramValue": 80 | |
| }, | |
| { | |
| "field": "httpMethod", | |
| "type": 1, | |
| "paramValue": "GET" | |
| }, | |
| { | |
| "field": "uri", | |
| "type": 1 | |
| }, | |
| { | |
| "field": "ssl", | |
| "type": 1, | |
| "paramValue": false | |
| }, | |
| { | |
| "field": "headers", | |
| "type": 3 | |
| }, | |
| { | |
| "field": "params", | |
| "type": 3 | |
| }, | |
| { | |
| "field": "timeout", | |
| "type": 0 | |
| }, | |
| { | |
| "field": "contentType", | |
| "type": 1 | |
| }, | |
| { | |
| "field": "payload", | |
| "type": 1 | |
| }, | |
| { | |
| "field": "authType", | |
| "type": 1 | |
| }, | |
| { | |
| "field": "username", | |
| "type": 1 | |
| }, | |
| { | |
| "field": "password", | |
| "type": 1 | |
| }, | |
| { | |
| "field": "keyword", | |
| "type": 1 | |
| }, | |
| { | |
| "field": "successCode", | |
| "type": 4, | |
| "paramValue": "200, 201" | |
| } | |
| ] | |
| } |