Set Up Website Health Checks (Canaries) using CloudFlare

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

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

推荐阅读:
五柳先生传原文及翻译  桃花源记原文及翻译  进水排水的牛吃草问题  汽车运化肥的牛吃草问题  下面的哪个分数大  扩大鱼池问题  巧分食盐水问题  均分田地问题  切西瓜的数学问题  最短的路线问题 
评论列表
添加评论