httppull.yaml 1018 B

123456789101112131415161718192021222324252627
  1. #Global httppull configurations
  2. default:
  3. # url of the request server address
  4. url: http://localhost
  5. # post, get, put, delete
  6. method: post
  7. # The interval between the requests, time unit is ms
  8. interval: 10000
  9. # The timeout for http request, time unit is ms
  10. timeout: 5000
  11. # If it's set to true, then will compare with last result; If response of two requests are the same, then will skip sending out the result.
  12. # The possible setting could be: true/false
  13. incremental: false
  14. # The body of request, such as '{"data": "data", "method": 1}'
  15. body: '{}'
  16. # Body type, none|text|json|html|xml|javascript|form
  17. bodyType: json
  18. # Control if to skip the certification verification. If it is set to true, then skip certification verification; Otherwise, verify the certification
  19. insecureSkipVerify: true
  20. # HTTP headers required for the request
  21. headers:
  22. Accept: application/json
  23. #Override the global configurations
  24. application_conf: #Conf_key
  25. incremental: true
  26. url: http://localhost:9090/