Skip to content

Commit

Permalink
chore(readme): data, expected_md5sum and expected_length
Browse files Browse the repository at this point in the history
  • Loading branch information
chreck committed Oct 20, 2020
1 parent 5d78504 commit e8dc6e5
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -54,14 +54,19 @@ monitors:
timeout: 1
# If % of downtime is over this threshold, open an incident
threshold: 80

# Raw data to transmit
data: "{\"key\":\"value\"}"
# custom HTTP headers
headers:
Authorization: Basic <hash>
# expected status code (either status code or body must be supplied)
expected_status_code: 200
# regex to match body
expected_body: "P.*NG"
# expected body response md5 checksum
expected_md5sum: "<md5sum>"
# expected body response length
expected_length: 12345
# dns monitor example
- name: dns
# fqdn
Expand Down

0 comments on commit e8dc6e5

Please sign in to comment.