[Website Monitoring] How to monitor your own website (interface)

Recommended website LuckyCola for essential front-end tools (free picture bed, API, chatAI, etc.):
https://luckycola.com.cn/

Preface

Website interface monitoring refers to the real-time monitoring of the status of the interface, and the ability to detect interface faults and potential problems in a timely manner to achieve rapid fault recovery and stable operation. It is an indispensable technical means in modern Internet services and can effectively improve the availability, security and scalability of Internet services.

1. Start using

This system collects website monitoring data through API , so as long as the API is encapsulated , it can be used in both front-end and back-end scenarios.

1. Use API for monitoring data collection?

Important note: It is recommended to use https protocol. When https protocol cannot be used, try to use http protocol.

Request method: POST

http(s)://luckycola.com.cn/monitoring/addApiUseNum

2. Request parameters

serial number parameter Is it necessary illustrate
1 ColaKey yes The only verification ColaKey can be obtained from the official website ( http(s): //luckycola.com.cn )
2 uid yes Please obtain the user ID from the "Personal Center" of the official website ( http(s): //luckycola.com.cn
3 apiName yes Monitored interface name
4 apiInfo yes Monitoring interface description
5 webName yes Monitored website name

Request parameter example:

{
    
    
	// 唯一标识 前往官网“个人中心“获取
    "ColaKey":"9nCf9H6CugXA16168078424272xwcwec4rulm5NzsCB",
    //用户标识 前往官网“个人中心“获取
    "uid": "vk1jly168493323e9358639DPR1m",
    //监控的接口名称
    "apiName": "/test3",
    //监控的接口描述或者简介
    "apiInfo": "测试接口3",
    //监控的网站名称
    "webName": "测试网站"
}

Note!!!: If you don’t have Colakey yet, please go to the official website to get it first.
Official website address: http(s): //luckycola.com.cn/

3. How to check the monitoring effect?

After correctly completing the monitoring data collection,
log in to the LuckyCola official website ( http(s): //luckycola.com.cn/ ) and go to [My Web Monitoring]
in [Personal Center] to view the monitoring results the next day .

Monitoring effect display:
Insert image description here
Insert image description here
Insert image description here
Insert image description here

2. Points to note

  • Monitoring histogram data only records data and trends for 15 consecutive days
  • A monitoring pie chart is a comprehensive overview of all data recorded
  • Users can choose to delete a certain monitoring item, but once deleted, it cannot be restored, so please operate with caution.

Guess you like

Origin blog.csdn.net/qq_48896417/article/details/131410991