Set Up Website Health Checks (Canaries) using CloudFlare

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

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

推荐阅读:
有5位探险家计划横穿沙漠  田字形和十字形里分别填什么数  分数应用题求六年级有多少人  (1/6+1/7+1/8)×(1/7+1/8+1/9)-(1/6+1/7+1/8+1/9)×(1/7+1/8)  鸟有几种不同的飞法  求大小客车各几辆的问题  三道关于百分数的判断题  简单的我记叙我简单的心作文650字  成为游泳健将的渡河少年  关于赏菊的作文 
评论列表
添加评论