8000 GitHub - zhaosheng-yu/monitor
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

zhaosheng-yu/monitor

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

事件打点监控系统


系统说明 主要分为三部分

  • 上报接口(service)
  • 数据分析告警(crontab)
  • 后台(admin)

上报接口(多语言版)

php版接口说明
* 接口文件:service/php/api/report.php
* 接口协议:http
* 接口方式:POST
* 接口参数:sign(签名)、t(时间戳)、data(json数据包,参数格式说明例:{monitorid:123,time:1514190464,source:100})

数据分析告警

*crontab/crontab_analysisData.php,分析上报数据是否满足后台告警条件,达到则告警(告警换可接其它平台),脚本由定时任务或supervisor(守护进程)执行。
*crontab/crontab_collectData.php,收集上报数据入库,脚本由定时任务或supervisor(守护进程)执行。

后台


数据表说明

  • 数据上报表t_report_业务号(如t_report_1001,1001为业务号);
    字段说明:date:日期,minute:当前分值(1-1440), num:每分钟上报数据量, source:来源或版本号。
  • 监控业务表 t_event_list

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published
0