uni统计2.0无访问页数据?uni-stat-pages表有数据,但是uni-stat-page-result表无数据
uni-stat-receiver函数有日志,uni-stat-cron函数无异常,uni-stat-pages表有数据,但是uni-stat-page-result表无数据,统计无访问页数据
jamesTW
- 发布:2023-11-20 17:56
- 更新:2023-11-30 11:13
- 阅读:285
jamesTW (作者)
上周接入的,改过配置。但后面回退了还是没有配置。
上次改过的配置cronMin false和true都试过了。然后文档里面的那几点也都确认过就是uni-stat-page-result就是没有数据
{
"debug": true,
"redis": false,
"cachetime": 604800,
"sessionExpireTime": 1800,
"realtimeStat": true,
"cronMin": false,
"cron": [
{
"type": "stat",
"time": " 30"
},
{
"type": "active-device",
"time": " 30"
},
{
"type": "active-user",
"time": " 30"
},
{
"type": "page",
"time": " 30"
},
{
"type": "event",
"time": " 30"
},
{
"type": "error",
"time": " 30"
},
{
"type": "loyalty",
"time": " 30"
},
{
"type": "retention-device",
"time": " 30"
},
{
"type": "retention-user",
"time": " 30"
},
{
"type": "pay-result",
"time": " 30",
"dimension": "hour",
"description": "每小时执行统计(会自动统计小时、天、周、月、季度、年度)",
"timely": true
}
],
"batchInsertNum": 5000,
"errorCheck": {
"needCheck": true,
"checkTime": 5
},
"cleanLog": {
"open": false,
"reserveDays": {
"sessionLog": 31,
"userSessionLog": 31,
"pageLog": 7,
"eventLog": 7,
"shareLog": 7,
"errorLog": 7
}
}
}
2023-11-21 15:07
jamesTW (作者)
其中有一次看日志怀疑clean的定时任务清除了后面把clean日志关闭了
2023-11-21 15:10
DCloud_云服务_JRP
回复 t***@oupaigroup.com: 服务空间id私信发我下
2023-11-21 15:36
jamesTW (作者)
回复 DCloud_云服务_JRP: 发了。只有page_result没有数据。log也有数据的
2023-11-21 16:45
DCloud_云服务_JRP
回复 jamesTW: 嗯,我先看下
2023-11-21 17:39
麦客
回复 DCloud_云服务_JRP: 您好,我也出现了这种情况,请问该怎么解决好
2023-11-30 11:40