Set Up Website Health Checks (Canaries) using CloudFlare

  • Time:2020-09-08 11:08:55
  • Class:Weblog
  • Read:17

In Software Testing, the Canaries is a piece of code that continuous sends requests to check the health of the service. It is like back in Coral mining, the canries are sent to the mine and if something goes wrong, the canaries will stop tweeting.

Using CloudFlare Pro, it is very easy to set up the canaries to check and monitor the health of the services given a URL e.g. API.

Add/Edit a Health Check Rule

In Traffic Tab, you’ll be able to add/edit health checks rules:

cloudflare-edit-health-checks Set Up Website Health Checks (Canaries) using CloudFlare cloudflare Software Testing

cloudflare-edit-health-checks

Specify the URL, the expected response code, and the expected text to search in the response. If anything goes wrong, you will get emails for notification:

cloudflare-email-notification-for-health-checks Set Up Website Health Checks (Canaries) using CloudFlare cloudflare Software Testing

cloudflare-email-notification-for-health-checks

With this feature, you’ll be able to see when your service breaks – much earlier indicator possibly than your customers figure out!

cloudflare-health-check-monitor Set Up Website Health Checks (Canaries) using CloudFlare cloudflare Software Testing

cloudflare-health-check-monitor

–EOF (The Ultimate Computing & Technology Blog) —

Recommend:
How to Solve SMTP: Could Not Authenticate using Gmail + PHPMaile
The Reduce Function in Python
The Combination Function and Iterator using Depth First Search A
Compute the Sequential Digits within a Range using DFS, BFS, or
Bruteforce or Line Sweep Algorithms to Remove Covered Intervals
Microbit Programming: The Development of a Snake Eating Apple Ga
Compute the Angle of the Hour and Minute Hand on a Clock
How to Convert Binary Number in a Linked List to Integer?
The Permutation Iterator in Python
Compute the Indices of the Target Element in Array/List using Py
Share:Facebook Twitter
Comment list
Comment add