mirror of
https://gitee.com/dcloud/opendb.git
synced 2024-11-14 06:53:00 +08:00
update: 会话日志索引及平台数据调整
This commit is contained in:
parent
668f12ead9
commit
6b3d04b590
@ -1 +1 @@
|
|||||||
[{"_id":"61c046e691a75000014c255f","name":"原生应用-安卓","code":"android","create_time":163998979103},{"_id":"61c046e691a75000014c2560","name":"原生应用-iOS","code":"ios","create_time":163998979103},{"_id":"61c046e691a75000014c2561","name":"HTML5","code":"h5","report_code":"h5","create_time":163998979103},{"_id":"61c046e691a75000014c2562","name":"微信小程序","code":"wx","create_time":163998979103},{"_id":"61c046e691a75000014c2563","name":"百度小程序","code":"bd","create_time":163998979103},{"_id":"61c046e691a75000014c2564","name":"支付宝小程序","code":"ali","create_time":163998979103},{"_id":"61c046e691a75000014c2565","name":"头条小程序","code":"tt","create_time":163998979103},{"_id":"61c046e691a75000014c2566","name":"qq小程序","code":"qq","create_time":163998979103}]
|
[{"_id":"61c046e691a75000014c255f","name":"App-Android","code":"android","create_time":163998979103},{"_id":"61c046e691a75000014c2560","name":"App-iOS","code":"ios","create_time":163998979103},{"_id":"61c046e691a75000014c2561","name":"Web","code":"h5","report_code":"h5","create_time":163998979103},{"_id":"61c046e691a75000014c2562","name":"微信小程序","code":"wx","create_time":163998979103},{"_id":"61c046e691a75000014c2563","name":"百度小程序","code":"bd","create_time":163998979103},{"_id":"61c046e691a75000014c2564","name":"支付宝小程序","code":"ali","create_time":163998979103},{"_id":"61c046e691a75000014c2565","name":"头条小程序","code":"tt","create_time":163998979103},{"_id":"61c046e691a75000014c2566","name":"qq小程序","code":"qq","create_time":163998979103},{"_id":"61c046e691a75000014c2567","name":"快应用-原生渲染","code":"qn","create_time":163998979103},{"_id":"61c046e691a75000014c2568","name":"快应用-webview","code":"qw","create_time":163998979103},{"_id":"61c046e691a75000014c2569","name":"钉钉小程序","code":"dt","create_time":163998979103},{"_id":"61c046e691a75000014c2570","name":"快手小程序","code":"dt","create_time":163998979103},{"_id":"61c046e691a75000014c2571","name":"飞书小程序","code":"lark","create_time":163998979103}]
|
@ -1 +1 @@
|
|||||||
{"schema":{"bsonType":"object","required":[],"permission":{"read":false,"create":false,"update":false,"delete":false},"properties":{"_id":{"description":"ID,系统自动生成"},"appid":{"bsonType":"string","description":"客户端上报的应用ID"},"version":{"bsonType":"string","description":"客户端上报的应用版本号"},"platform":{"bsonType":"string","description":"客户端上报的平台code"},"channel":{"bsonType":"string","description":"客户端上报的渠道code/场景值"},"uuid":{"bsonType":"string","description":"客户端上报的用户标志"},"is_first_visit":{"bsonType":"int","description":"是否为首次访问","defaultValue":0,"enum":[{"text":"否","value":0},{"text":"是","value":1}]},"first_visit_time":{"bsonType":"timestamp","description":"用户首次访问时间"},"last_visit_time":{"bsonType":"timestamp","description":"用户最后一次访问时间"},"total_visit_count":{"bsonType":"int","description":"用户累计访问次数,客户端上报"},"entry_page_id":{"bsonType":"string","description":"本次会话入口页面ID, 同opendb-stat-app-pages._id"},"exit_page_id":{"bsonType":"string","description":"本次会话退出页面ID, 同opendb-stat-app-pages._id"},"page_count":{"bsonType":"int","description":"本次会话浏览的页面数"},"event_count":{"bsonType":"int","description":"本次会话产生的事件数"},"duration":{"bsonType":"int","description":"本次会话时长,单位为秒,服务端计算"},"sdk_version":{"bsonType":"string","description":"基础库版本号"},"platform_version":{"bsonType":"string","description":"平台版本,如微信、支付宝宿主App版本号"},"device_os":{"bsonType":"int","description":"设备系统编号"},"device_os_version":{"bsonType":"string","description":"设备系统版本"},"device_net":{"bsonType":"int","description":"设备网"},"device_vendor":{"bsonType":"string","description":"设备供应商 "},"device_model":{"bsonType":"string","description":"设备型号"},"device_language":{"bsonType":"string","description":"设备语言包"},"device_pixel_ratio":{"bsonType":"string","description":"设备像素比 "},"device_window_width":{"bsonType":"string","description":"设备窗口宽度 "},"device_window_height":{"bsonType":"string","description":"设备窗口高度"},"device_screen_width":{"bsonType":"string","description":"设备屏幕宽度"},"device_screen_height":{"bsonType":"string","description":"设备屏幕高度"},"location_ip":{"bsonType":"string","description":"ip"},"location_latitude":{"bsonType":"double","description":"纬度"},"location_longitude":{"bsonType":"double","description":"经度"},"location_country":{"bsonType":"string","description":"国家"},"location_province":{"bsonType":"string","description":"省份"},"location_city":{"bsonType":"string","description":"城市"},"is_finish":{"bsonType":"int","defaultValue":0,"description":"本次会话是否结束,0:否,1是","enum":[{"text":"否","value":0},{"text":"是","value":1}]},"create_time":{"bsonType":"timestamp","description":"创建时间"}}},"index":[{"IndexName":"index_search_time","MgoKeySchema":{"MgoIndexKeys":[{"Name":"create_time","Direction":"1"}],"MgoIsUnique":false}},{"IndexName":"index_search_base","MgoKeySchema":{"MgoIndexKeys":[{"Name":"appid","Direction":"1"},{"Name":"version","Direction":"1"},{"Name":"platform","Direction":"1"},{"Name":"channel","Direction":"1"}],"MgoIsUnique":false}},{"IndexName":"index_search_auto","MgoKeySchema":{"MgoIndexKeys":[{"Name":"appid","Direction":"1"},{"Name":"version","Direction":"1"},{"Name":"platform","Direction":"1"},{"Name":"channel","Direction":"1"},{"Name":"create_time","Direction":"1"}],"MgoIsUnique":false}},{"IndexName":"index_search_more","MgoKeySchema":{"MgoIndexKeys":[{"Name":"appid","Direction":"1"},{"Name":"version","Direction":"1"},{"Name":"platform","Direction":"1"},{"Name":"channel","Direction":"1"},{"Name":"uuid","Direction":"1"},{"Name":"create_time","Direction":"1"}],"MgoIsUnique":false}},{"IndexName":"index_search_replenish","MgoKeySchema":{"MgoIndexKeys":[{"Name":"appid","Direction":"1"},{"Name":"version","Direction":"1"},{"Name":"platform","Direction":"1"},{"Name":"channel","Direction":"1"},{"Name":"is_first_visit","Direction":"1"},{"Name":"create_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"},"version":{"bsonType":"string","description":"客户端上报的应用版本号"},"platform":{"bsonType":"string","description":"客户端上报的平台code"},"channel":{"bsonType":"string","description":"客户端上报的渠道code/场景值"},"uuid":{"bsonType":"string","description":"客户端上报的用户标志"},"is_first_visit":{"bsonType":"int","description":"是否为首次访问","defaultValue":0,"enum":[{"text":"否","value":0},{"text":"是","value":1}]},"first_visit_time":{"bsonType":"timestamp","description":"用户首次访问时间"},"last_visit_time":{"bsonType":"timestamp","description":"用户最后一次访问时间"},"total_visit_count":{"bsonType":"int","description":"用户累计访问次数,客户端上报"},"entry_page_id":{"bsonType":"string","description":"本次会话入口页面ID, 同opendb-stat-app-pages._id"},"exit_page_id":{"bsonType":"string","description":"本次会话退出页面ID, 同opendb-stat-app-pages._id"},"page_count":{"bsonType":"int","description":"本次会话浏览的页面数"},"event_count":{"bsonType":"int","description":"本次会话产生的事件数"},"duration":{"bsonType":"int","description":"本次会话时长,单位为秒,服务端计算"},"sdk_version":{"bsonType":"string","description":"基础库版本号"},"platform_version":{"bsonType":"string","description":"平台版本,如微信、支付宝宿主App版本号"},"device_os":{"bsonType":"int","description":"设备系统编号"},"device_os_version":{"bsonType":"string","description":"设备系统版本"},"device_net":{"bsonType":"int","description":"设备网"},"device_vendor":{"bsonType":"string","description":"设备供应商 "},"device_model":{"bsonType":"string","description":"设备型号"},"device_language":{"bsonType":"string","description":"设备语言包"},"device_pixel_ratio":{"bsonType":"string","description":"设备像素比 "},"device_window_width":{"bsonType":"string","description":"设备窗口宽度 "},"device_window_height":{"bsonType":"string","description":"设备窗口高度"},"device_screen_width":{"bsonType":"string","description":"设备屏幕宽度"},"device_screen_height":{"bsonType":"string","description":"设备屏幕高度"},"location_ip":{"bsonType":"string","description":"ip"},"location_latitude":{"bsonType":"double","description":"纬度"},"location_longitude":{"bsonType":"double","description":"经度"},"location_country":{"bsonType":"string","description":"国家"},"location_province":{"bsonType":"string","description":"省份"},"location_city":{"bsonType":"string","description":"城市"},"is_finish":{"bsonType":"int","defaultValue":0,"description":"本次会话是否结束,0:否,1是","enum":[{"text":"否","value":0},{"text":"是","value":1}]},"create_time":{"bsonType":"timestamp","description":"创建时间"}}},"index":[{"IndexName":"index_search_time","MgoKeySchema":{"MgoIndexKeys":[{"Name":"create_time","Direction":"1"}],"MgoIsUnique":false}},{"IndexName":"index_search_base","MgoKeySchema":{"MgoIndexKeys":[{"Name":"appid","Direction":"1"},{"Name":"version","Direction":"1"},{"Name":"platform","Direction":"1"},{"Name":"channel","Direction":"1"}],"MgoIsUnique":false}},{"IndexName":"index_search_auto","MgoKeySchema":{"MgoIndexKeys":[{"Name":"appid","Direction":"1"},{"Name":"version","Direction":"1"},{"Name":"platform","Direction":"1"},{"Name":"channel","Direction":"1"},{"Name":"create_time","Direction":"1"}],"MgoIsUnique":false}},{"IndexName":"index_search_more","MgoKeySchema":{"MgoIndexKeys":[{"Name":"appid","Direction":"1"},{"Name":"version","Direction":"1"},{"Name":"platform","Direction":"1"},{"Name":"channel","Direction":"1"},{"Name":"uuid","Direction":"1"},{"Name":"create_time","Direction":"1"}],"MgoIsUnique":false}},{"IndexName":"index_search_replenish","MgoKeySchema":{"MgoIndexKeys":[{"Name":"appid","Direction":"1"},{"Name":"version","Direction":"1"},{"Name":"platform","Direction":"1"},{"Name":"channel","Direction":"1"},{"Name":"is_first_visit","Direction":"1"},{"Name":"create_time","Direction":"1"}],"MgoIsUnique":false}},{"IndexName":"index_search_all","MgoKeySchema":{"MgoIndexKeys":[{"Name":"appid","Direction":"1"},{"Name":"version","Direction":"1"},{"Name":"platform","Direction":"1"},{"Name":"channel","Direction":"1"},{"Name":"is_first_visit","Direction":"1"},{"Name":"page_count","Direction":"1"},{"Name":"create_time","Direction":"1"}],"MgoIsUnique":false}}]}
|
Loading…
Reference in New Issue
Block a user