Giter VIP home page Giter VIP logo

zian502 / webfunny_monitor Goto Github PK

View Code? Open in Web Editor NEW

This project forked from a597873885/webfunny_monitor

3.0 0.0 3.0 599 KB

前端监控探针代码; 通过监控记录前端用户的PV/UV,用户行为,接口请求,js错误日志,页面截图等信息,帮助排查线上用户问题, 检查前端项目质量,提升用户体验等;页面DEMO:

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

JavaScript 100.00%

webfunny_monitor's Introduction

阅读须知

  1. webmonitor.js 为探针的源码

  2. fetchCode.js 为fetch的源码

  3. html2canvas0.js 为截图插件的源码

  4. 执行命令 webpack 可得压缩版监控代码 - monitor.fetch.html2.min.js

讲解须知

监控系统的探针代码

线上Demo: https://www.webfunny.cn/

博客讲解: https://www.cnblogs.com/warm-stranger/p/10209990.html

探针部署方式:

  1. 根目录下执行命令$: webpack 得到一个压缩js文件(探针) monitor.fetch.html2.min.js

  2. 将探针代码插入到html页面head的最顶部

    <script type="text/javascript" src="//localhost:8000/monitor.fetch.html2.min.js"></script>
  3. 启动mysql数据库,如果使用远程数据库可以参考教程:

    搭建前端监控系统(一)阿里云服务器搭建篇:https://www.cnblogs.com/warm-stranger/p/8837784.html

  4. 启动node服务器,可以参考教程:

    搭建前端监控系统(三)NodeJs服务器部署篇:https://www.cnblogs.com/warm-stranger/p/9556442.html

    源码: https://github.com/a597873885/webfunny_servers

  5. 启动分析平台界面,可以参考教程(README.md):

    源码: https://github.com/a597873885/webfunny_admin

如果有问题,欢迎提问。

webfunny_monitor's People

Contributors

a826604005 avatar a597873885 avatar

Stargazers

 avatar  avatar 梓安 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.