Set Up Website Health Checks (Canaries) using CloudFlare

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

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

推荐阅读:
这次疫情下对个人站长是机会吗?  站长赚钱需要做什么准备工作?  个人站长做个网站赚钱真是越来越难了  网站站长赚钱的七条经验分享  一道求比例尺的问题  欧拉的故事  分羊的故事  千里马的故事  监狱里的数学研究  比和比例的历史 
评论列表
添加评论