Set Up Website Health Checks (Canaries) using CloudFlare

  • 时间:2020-09-08 11:08:55
  • 分类:网络文摘
  • 阅读:75 次

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) —

推荐阅读:
长芽了不能吃的食物有哪些?  哪些食物发芽了也可继续食用  饮食养生:处暑饮食注重健脾化湿  让人“又爱又恨”的食品方便面  方便面搭配合理也可以吃得健康  具有保健功效的3种发酵豆制品  世界上最昂贵的10种食物大盘点  营养丰富的西红柿鸡蛋汤两种做法  毛豆膳食纤维含量高这样吃最营养  细说蔬菜甘蓝的四大营养保健价值 
评论列表
添加评论