worldsong / webfunny_monitor

这是一款轻量级的前端监控系统,以及前端性能监控系统,只需简单操作便可私有化部署到自己的服务器上。1.实现无埋点监控前端日志,对前端PV、UV精准分析;2.对用户留存率分析、用户跳出率分析,用户在页面停留时间分析。3.监控JS错误,分析js报错趋势,用SourceMap反向定位源码。4.监控接口请求,分析接口的失败率,统计分析接口性能,统计分析接口耗时等。5.监控静态资源加载情况,统计分析静态资源加载失败的情况,分析前端白屏。6.户细查功能,记录下每个用户的所有行为,复现生产环境Bug。自定义埋点功能,可以自定义埋点,webfunny会将其记录下来,并定时分析。同时可以对多个埋点步骤进行漏斗分析,可以清晰的看到步骤之间的转化率,留存率等等。This is a lightweight front-end monitoring system, as well as a front-end performance monitoring system, which can be privatized and deployed to your own server with simple operation. 1.It can monitor the front-end log without buried point, and accurately analyze the front-end PV and UV. 2.Analysis of user retention rate, user jump out rate, user stay time analysis. 3.Monitor JS error, analyze JS error trend, and use sourceMap to reverse locate source code. 4.Monitor the interface request, analyze the failure rate of the interface, analyze the interface performance, and analyze the interface time consumption. 5.Monitor the static resource loading, analyze the failure of static resource loading, and analyze the front-end white screen. 6.User detailed check function, record all behaviors of each user, and reproduce the production environment bug.The user-defined buried point function can customize the buried point, which will be recorded and analyzed regularly by webpunny.At the same time, funnel analysis can be carried out for multiple buried point steps, and the conversion rate and retention rate between steps can be clearly seen.

Home Page:http://www.webfunny.cn/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

GitHub repo size GitHub last commit GitHub issues GitHub closed issues GitHub

如果你是一位前端工程师,那你一定不止一次去解决一些顽固的线上问题,你也曾想方设法复现用户的bug,结果可能都不太理想。 怎样定位前端线上问题,一直以来,都是很头疼的问题,因为它发生于用户的一系列操作之后。错误的原因可能源于机型,网络环境,复杂的操作行为等等,在我们想要去解决的时候很难复现出来,自然也就无法解决。

身为一名前端工程师,我每天都要面临很多线上的问题,一时间让我焦头烂额。公司其他的监控系统也有,但是每次解决问题都需要辗转于各种监控系统之间,亦是疲惫不堪。所以,我便为自己(前端工程师)量身定做了这样一款监控系统,现在分享给大家使用,欢迎点击了解。

只需要简单几步,你就可以搭建一套属于自己的前端监控系统了。

了解作品

【功能简介】 | 【Demo效果】 | 【关于开源】

私有化部署方式

【正常部署】 | 【Docker容器化部署】

联系作者微信

微信号:webfunny_2020

压力测试

可支持日活千万级别PV量。

目录结构

    |
    |──bin/                                    * 项目启动目录
    |     |
    |     |
    |     |—— domain.js                        * 域名配置文件
    |     |—— messageQueue.js                  * 消息队列开关配置文件
    |     |—— mysqlConfig.js                   * mysql数据库连接配置文件
    |     |—— purchaseCode.js                  * 激活码配置文件
    |     |—— saveDays.js                      * 日志存储周期配置文件
    |     |—— webfunny.js                      * 服务启动文件
    | 
    |
    |——config/                                 * 基础配置目录(使用者可以不用关注)
    |
    |——controllers/                            * 业务逻辑代码(已加密)
    |
    |——interceptor/                            * 拦截器代码(监控到的异常都会经过拦截器,使用者可以自定义报警)
    |             |
    |             |—— config/dingRobot.js      * 钉钉机器人配置
    |
    |——lib/
    |     |
    |     |—— RabbitMq.js                      * 消息对列创建文件
    |     |—— webfunny.min.js                  * 探针生成的模板文件
    |
    |——logs/
    |      |
    |      |——errors/                          * 监控系统运行错误日志目录(排查部署问题)
    |      |
    |      |——info/                            * 普通日志打印目录
    |
    |——schema/                                 * 基础表数据库字段设计
    |——schema_con/                             * 需要分表的数据库字段设计
    |
    |——modules/
    |         |
    |         |—— models.js                    * 业务逻辑代码(已加密)
    |
    |
    |——routes/                                 * 路由、定时器
    |
    |——views/                                  * 监控系统页面代码
    |
    |
    |
    |—— app.js                                 * 程序入口文件
    |—— Dockerfile.js                          * docker部署配置文件
    |—— restart.sh                             * 程序重启脚本文件(需设置此文件的执行权限)

    |—— 其他文件或目录,使用者大可不必关注

About

这是一款轻量级的前端监控系统,以及前端性能监控系统,只需简单操作便可私有化部署到自己的服务器上。1.实现无埋点监控前端日志,对前端PV、UV精准分析;2.对用户留存率分析、用户跳出率分析,用户在页面停留时间分析。3.监控JS错误,分析js报错趋势,用SourceMap反向定位源码。4.监控接口请求,分析接口的失败率,统计分析接口性能,统计分析接口耗时等。5.监控静态资源加载情况,统计分析静态资源加载失败的情况,分析前端白屏。6.户细查功能,记录下每个用户的所有行为,复现生产环境Bug。自定义埋点功能,可以自定义埋点,webfunny会将其记录下来,并定时分析。同时可以对多个埋点步骤进行漏斗分析,可以清晰的看到步骤之间的转化率,留存率等等。This is a lightweight front-end monitoring system, as well as a front-end performance monitoring system, which can be privatized and deployed to your own server with simple operation. 1.It can monitor the front-end log without buried point, and accurately analyze the front-end PV and UV. 2.Analysis of user retention rate, user jump out rate, user stay time analysis. 3.Monitor JS error, analyze JS error trend, and use sourceMap to reverse locate source code. 4.Monitor the interface request, analyze the failure rate of the interface, analyze the interface performance, and analyze the interface time consumption. 5.Monitor the static resource loading, analyze the failure of static resource loading, and analyze the front-end white screen. 6.User detailed check function, record all behaviors of each user, and reproduce the production environment bug.The user-defined buried point function can customize the buried point, which will be recorded and analyzed regularly by webpunny.At the same time, funnel analysis can be carried out for multiple buried point steps, and the conversion rate and retention rate between steps can be clearly seen.

http://www.webfunny.cn/

License:Apache License 2.0


Languages

Language:JavaScript 64.1%Language:HTML 35.6%Language:Dockerfile 0.1%Language:CSS 0.1%Language:Shell 0.1%