mirror of
https://gitee.com/dcloud/opendb.git
synced 2024-12-26 22:41:15 +08:00
fix: update uni-stat table
This commit is contained in:
parent
3b8b123cba
commit
db5fd07e7b
@ -1 +1 @@
|
||||
{"schema":{"bsonType":"object","required":[],"permission":{"read":false,"create":false,"update":false,"delete":false},"properties":{"_id":{"description":"ID,系统自动生成"},"appid":{"bsonType":"string","description":"应用ID"},"platform_id":{"bsonType":"string","description":"应用平台ID,对应uni-stat-app-platforms._id","foreignKey":"uni-stat-app-platforms._id"},"channel_id":{"bsonType":"string","description":"渠道/场景值ID,对应uni-stat-app-channels._id","foreignKey":"uni-stat-app-channels._id"},"version_id":{"bsonType":"string","description":"应用版本ID,对应uni-stat-app-versions._id","foreignKey":"uni-stat-app-versions._id"},"visit_depth_data":{"bsonType":"object","description":"访问深度数据"},"duration_data":{"bsonType":"object","description":"访问时长数据"},"stat_date":{"bsonType":"int","description":"统计日期,格式yyyymmdd,例:20211201"},"start_time":{"bsonType":"timestamp","description":"开始时间"},"end_time":{"bsonType":"timestamp","description":"结束时间"}}},"index":[{"IndexName":"index_search_time","MgoKeySchema":{"MgoIndexKeys":[{"Name":"start_time","Direction":"1"}],"MgoIsUnique":false}},{"IndexName":"index_search_normal","MgoKeySchema":{"MgoIndexKeys":[{"Name":"appid","Direction":"1"},{"Name":"version_id","Direction":"1"},{"Name":"platform_id","Direction":"1"},{"Name":"channel_id","Direction":"1"},{"Name":"start_time","Direction":"1"}],"MgoIsUnique":false}}]}
|
||||
{"schema":{"bsonType":"object","required":[],"permission":{"read":false,"create":false,"update":false,"delete":false},"properties":{"_id":{"description":"ID,系统自动生成"},"appid":{"bsonType":"string","description":"应用ID"},"platform_id":{"bsonType":"string","description":"应用平台ID,对应uni-stat-app-platforms._id","foreignKey":"uni-stat-app-platforms._id"},"channel_id":{"bsonType":"string","description":"渠道/场景值ID,对应uni-stat-app-channels._id","foreignKey":"uni-stat-app-channels._id"},"version_id":{"bsonType":"string","description":"应用版本ID,对应uni-stat-app-versions._id","foreignKey":"uni-stat-app-versions._id"},"visit_depth_data":{"bsonType":"object","description":"访问深度数据","properties":{"visit_users":{"bsonType":"object","description":"访问用户数"},"visit_devices":{"bsonType":"object","description":"访问设备数"},"visit_times":{"bsonType":"object","description":"访问次数"}}},"duration_data":{"bsonType":"object","description":"访问时长数据","properties":{"visit_users":{"bsonType":"object","description":"访问用户数"},"visit_devices":{"bsonType":"object","description":"访问设备数"},"visit_times":{"bsonType":"object","description":"访问次数"}}},"stat_date":{"bsonType":"int","description":"统计日期,格式yyyymmdd,例:20211201"},"start_time":{"bsonType":"timestamp","description":"开始时间"},"end_time":{"bsonType":"timestamp","description":"结束时间"}}},"index":[{"IndexName":"index_search_time","MgoKeySchema":{"MgoIndexKeys":[{"Name":"start_time","Direction":"1"}],"MgoIsUnique":false}},{"IndexName":"index_search_normal","MgoKeySchema":{"MgoIndexKeys":[{"Name":"appid","Direction":"1"},{"Name":"version_id","Direction":"1"},{"Name":"platform_id","Direction":"1"},{"Name":"channel_id","Direction":"1"},{"Name":"start_time","Direction":"1"}],"MgoIsUnique":false}}]}
|
@ -1 +1 @@
|
||||
{"schema":{"bsonType":"object","required":[],"permission":{"read":false,"create":false,"update":false,"delete":false},"properties":{"_id":{"description":"ID,系统自动生成"},"appid":{"bsonType":"string","description":"应用ID,对应opendb-app-list.appid","foreignKey":"opendb-app-list.appid"},"platform_id":{"bsonType":"string","description":"应用平台ID,对应uni-stat-app-platforms._id","foreignKey":"uni-stat-app-platforms._id"},"channel_id":{"bsonType":"string","description":"渠道/场景值ID,对应uni-stat-app-channels._id","foreignKey":"uni-stat-app-channels._id"},"version_id":{"bsonType":"string","description":"应用版本ID,对应uni-stat-app-versions._id","foreignKey":"uni-stat-app-versions._id"},"total_users":{"bsonType":"int","description":"历史累计总用户数"},"new_user_count":{"bsonType":"int","description":"本时间段新增用户数"},"active_user_count":{"bsonType":"int","description":"本时间段活跃用户数"},"total_devices":{"bsonType":"int","description":"历史累计总设备数"},"new_device_count":{"bsonType":"int","description":"本时间段新增设备数"},"active_device_count":{"bsonType":"int","description":"本时间段活跃设备数"},"app_launch_count":{"bsonType":"int","description":"本时间段App启动或从后台切到前台的次数"},"error_count":{"bsonType":"int","description":"本时间段报错次数"},"duration":{"bsonType":"int","description":"时间段内,所有会话访问总时长,单位秒"},"user_duration":{"bsonType":"int","description":"本次登录用户的会话总时长,单位为秒"},"avg_session_time":{"bsonType":"int","description":"次均停留时长,单位秒"},"avg_device_time":{"bsonType":"int","defaultValue":"设均停留时长(平均每台设备的停留时长),单位秒"},"avg_user_time":{"bsonType":"int","defaultValue":"人均停留时长(平均每个登录用户的停留时长),单位秒"},"bounce_times":{"bsonType":"int","description":"跳出次数"},"bounce_rate":{"bsonType":"double","description":"跳出率"},"retention":{"bsonType":"object","description":"留存信息"},"dimension":{"bsonType":"string","description":"统计范围 day:按天统计,hour:按小时统计","enum":[{"text":"月","value":"month"},{"text":"周","value":"week"},{"text":"天","value":"day"},{"text":"小时","value":"hour"}]},"stat_date":{"bsonType":"int","description":"统计日期,格式yyyymmdd,例:20211201"},"start_time":{"bsonType":"timestamp","description":"开始时间"},"end_time":{"bsonType":"timestamp","description":"结束时间"}}},"index":[{"IndexName":"index_search_time","MgoKeySchema":{"MgoIndexKeys":[{"Name":"start_time","Direction":"1"}],"MgoIsUnique":false}},{"IndexName":"index_search_normal","MgoKeySchema":{"MgoIndexKeys":[{"Name":"appid","Direction":"1"},{"Name":"version_id","Direction":"1"},{"Name":"platform_id","Direction":"1"},{"Name":"channel_id","Direction":"1"},{"Name":"dimension","Direction":"1"},{"Name":"start_time","Direction":"1"}],"MgoIsUnique":false}}]}
|
||||
{"schema":{"bsonType":"object","required":[],"permission":{"read":false,"create":false,"update":false,"delete":false},"properties":{"_id":{"description":"ID,系统自动生成"},"appid":{"bsonType":"string","description":"应用ID,对应opendb-app-list.appid","foreignKey":"opendb-app-list.appid"},"platform_id":{"bsonType":"string","description":"应用平台ID,对应uni-stat-app-platforms._id","foreignKey":"uni-stat-app-platforms._id"},"channel_id":{"bsonType":"string","description":"渠道/场景值ID,对应uni-stat-app-channels._id","foreignKey":"uni-stat-app-channels._id"},"version_id":{"bsonType":"string","description":"应用版本ID,对应uni-stat-app-versions._id","foreignKey":"uni-stat-app-versions._id"},"total_users":{"bsonType":"int","description":"历史累计总用户数"},"new_user_count":{"bsonType":"int","description":"本时间段新增用户数"},"active_user_count":{"bsonType":"int","description":"本时间段活跃用户数"},"total_devices":{"bsonType":"int","description":"历史累计总设备数"},"new_device_count":{"bsonType":"int","description":"本时间段新增设备数"},"user_session_times":{"bsonType":"int","description":"本时间段用户的会话次数"},"active_device_count":{"bsonType":"int","description":"本时间段活跃设备数"},"app_launch_count":{"bsonType":"int","description":"本时间段App启动或从后台切到前台的次数"},"error_count":{"bsonType":"int","description":"本时间段报错次数"},"duration":{"bsonType":"int","description":"时间段内,所有会话访问总时长,单位秒"},"user_duration":{"bsonType":"int","description":"本次登录用户的会话总时长,单位为秒"},"avg_device_session_time":{"bsonType":"int","description":"设备的次均停留时长,单位秒"},"avg_device_time":{"bsonType":"int","defaultValue":"设均停留时长(平均每台设备的停留时长),单位秒"},"avg_user_session_time":{"bsonType":"int","description":"用户的次均停留时长,单位秒"},"avg_user_time":{"bsonType":"int","defaultValue":"人均停留时长(平均每个登录用户的停留时长),单位秒"},"bounce_times":{"bsonType":"int","description":"跳出次数"},"bounce_rate":{"bsonType":"double","description":"跳出率"},"retention":{"bsonType":"object","description":"留存信息","properties":{"active_user":{"bsonType":"object","description":"活跃用户留存信息"},"new_user":{"bsonType":"object","description":"新增用户留存信息"},"active_device":{"bsonType":"object","description":"活跃设备留存信息"},"new_device":{"bsonType":"object","description":"新增设备留存信息"}}},"dimension":{"bsonType":"string","description":"统计范围 day:按天统计,hour:按小时统计","enum":[{"text":"月","value":"month"},{"text":"周","value":"week"},{"text":"天","value":"day"},{"text":"小时","value":"hour"}]},"stat_date":{"bsonType":"int","description":"统计日期,格式yyyymmdd,例:20211201"},"start_time":{"bsonType":"timestamp","description":"开始时间"},"end_time":{"bsonType":"timestamp","description":"结束时间"}}},"index":[{"IndexName":"index_search_time","MgoKeySchema":{"MgoIndexKeys":[{"Name":"start_time","Direction":"1"}],"MgoIsUnique":false}},{"IndexName":"index_search_normal","MgoKeySchema":{"MgoIndexKeys":[{"Name":"appid","Direction":"1"},{"Name":"version_id","Direction":"1"},{"Name":"platform_id","Direction":"1"},{"Name":"channel_id","Direction":"1"},{"Name":"dimension","Direction":"1"},{"Name":"start_time","Direction":"1"}],"MgoIsUnique":false}}]}
|
Loading…
Reference in New Issue
Block a user