Comments (8)
@caihuiji 离线日志的问题,你看看
from badjs-report.
- http://域名/offlineAuto 请求失败的
麻烦看一下 badjs-acceptor/app.js ,里面是否有offlineAuto ,如果没有 ,请更一下一下服务器的代码。
如果有,看看nginx 之类配置转发有问题, - 历史日志查询没有日志,但是统计数据有日志
麻烦先看看 debug 启动, 看看请求是不是已经正常写入mongodb, 怀疑中间某一部转发时候有问题
from badjs-report.
@chyingp
1、更新了代码后app.js里有offlineAuto。然后发现offlineAuto接口还是一样的错404
2、历史日志可以查询到上报的数据,但是统计的数据都没有了,实时监控的websocket报错: Error during WebSocket handshake: Unexpected response code: 404
运维使用docker部署,Nginx80端口已被占用,用其他端口进行转发了,这样是否有问题
from badjs-report.
404 很可能是转发出错了,你看看 nginx 配置是否有问题
另外,@chyingp 无辜躺枪,哈哈
from badjs-report.
docker 代码确实有点旧了。 我最近更新一下。
nginx 也需要配置一下 websocket 转发
from badjs-report.
🤦♀️ @错人啦,sorry~。今天我们重新在一个服务器上部署了,目前历史日志和实时监控模块都可以工作,目测统计日志应该也可以(一定是零点统计的是吧?)。offlineAuto接口还是404错误,申请的时候业务网站填了 *.qq.com这种格式也不行。请问offlineAuto这个接口的作用是什么,会影响功能吗?
from badjs-report.
@yorts52 请问日志统计的我们查看了mongodb,历史日志记录有,但是MySQL没有从mongodb拉到统计日志。是哪里有问题?
from badjs-report.
说明一下,统计的结果是有延迟的,另外,可以从几方面定位:
1、检查【badjs-storage】 https://github.com/BetterJS/badjs-storage/blob/7235786d444c50582b9954c8c57bf7db5893cb14/service/realTotal.js 的统计是否正常
2、检查【badjs-storage】 https://github.com/BetterJS/badjs-storage/blob/7235786d444c50582b9954c8c57bf7db5893cb14/service/query.js 的查询服务是否正常
3、检查【badjs-web】https://github.com/BetterJS/badjs-web/blob/master/service/StatisticsService.js#L109 的统计服务是否正常, 且结果写入 mysql 是否正常
from badjs-report.
Related Issues (20)
- 是否支持小程序? HOT 2
- 对于init里面的repeat参数 HOT 6
- 上报的堆栈信息被截断,起码能不能自己配置最长上报信息的长度? HOT 3
- 代码比较奇怪的几点 HOT 5
- _submit_log无法执行 HOT 2
- 安装bug HOT 1
- 部署到windows服务器上,查询历史日志,弹出报错弹窗 HOT 1
- 使用腾讯云的服务镜像部署的服务,全都使用的默认,现在实时的能收到数据,历史记录和离线都收不到数据 HOT 7
- 是否支持https部署 HOT 1
- 建议使用 unhandledrejection 来捕获未处理的 promise reject HOT 1
- 通过docker部署的,只能显示实时监控,历史日志不显示 HOT 1
- 请问能捕获MVVM框架的异常吗? HOT 3
- BJ_REPORT.push方法中 最后也调用了_process_log
- 这个现在还监听不到vue产生的错误吗? HOT 1
- 跨域情况下没有对promise封装
- badjs-report小程序 HOT 1
- submit 返回是path + querystring 不方便
- badjs-report正常提交了错误消息,管理后台历史日志不显示 HOT 2
- 你好,在看repostjs文件的时候发现一个重写onerror函数的注释写漏了一个字母
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from badjs-report.