崩溃报告
崩溃报告提供有关应用程序中崩溃事件的度量和信息。
注意: 本文描述默认报告。您可以通过在QuickSight中应用过滤器或比较,或更改维度、度量或图表来自定义报告。了解更多
查看报告
- 访问应用程序的仪表板。请参阅访问仪表板。
- 在仪表板中,单击名称为
Crash
的工作表。
数据来源
崩溃报告是基于以下QuickSight数据集创建的:
clickstream_user_dim_view
- 连接到分析引擎中的clickstream_event_view
视图(例如,Redshift)。Events_Parameter_View-<app id>-<project id>
- 连接到分析引擎中的clickstream_events_parameter_view
视图。
SQL Commands
clickstream_event_view.sql
select
event_date
, event_name
, event_id
, event_bundle_sequence_id
, event_previous_timestamp
, event.event_timestamp
, event_value_in_usd
, app_info_app_id
, app_info_package_id
, app_info_install_source
, app_info_version
, app_info_sdk_name
, app_info_sdk_version
, device_id
, device_mobile_brand_name
, device_mobile_model_name
, device_manufacturer
, device_screen_width
, device_screen_height
, device_carrier
, device_network_type
, device_operating_system
, device_operating_system_version
, host_name
, ua_browser
, ua_browser_version
, ua_os
, ua_os_version
, ua_device
, ua_device_category
, device_system_language
, device_time_zone_offset_seconds
, geo_continent
, geo_country
, geo_city
, geo_metro
, geo_region
, geo_sub_continent
, geo_locale
, platform
, project_id
, traffic_source_name
, traffic_source_medium
, traffic_source_source
, event.user_id
, event.user_pseudo_id
, u.user_first_touch_timestamp
from {{schema}}.clickstream_event_attr_view_v1 as event
left join {{schema}}.user_m_view as u on event.user_pseudo_id = u.user_pseudo_id
clickstream-ods-events-query.sql
-- run following command to load latest partition
-- msck repair table {{database}}.{{eventTable}};
-- msck repair table {{database}}.{{userTable}};
select
event_date
,event_name
,event_id
,event_bundle_sequence_id as event_bundle_sequence_id
,event_previous_timestamp as event_previous_timestamp
,event_timestamp
,event_value_in_usd
,app_info.app_id as app_info_app_id
,app_info.id as app_info_package_id
,app_info.install_source as app_info_install_source
,app_info.version as app_info_version
,device.vendor_id as device_id
,device.mobile_brand_name as device_mobile_brand_name
,device.mobile_model_name as device_mobile_model_name
,device.manufacturer as device_manufacturer
,device.screen_width as device_screen_width
,device.screen_height as device_screen_height
,device.carrier as device_carrier
,device.network_type as device_network_type
,device.operating_system as device_operating_system
,device.operating_system_version as device_operating_system_version
,device.ua_browser
,device.ua_browser_version
,device.ua_os
,device.ua_os_version
,device.ua_device
,device.ua_device_category
,device.system_language as device_system_language
,device.time_zone_offset_seconds as device_time_zone_offset_seconds
,geo.continent as geo_continent
,geo.country as geo_country
,geo.city as geo_city
,geo.metro as geo_metro
,geo.region as geo_region
,geo.sub_continent as geo_sub_continent
,geo.locale as geo_locale
,platform
,project_id
,traffic_source.name as traffic_source_name
,traffic_source.medium as traffic_source_medium
,traffic_source.source as traffic_source_source
,event.user_id
,event.user_pseudo_id
,u.user_first_touch_timestamp
from {{database}}.{{eventTable}} as event
left join (
select
*
from (
select
user_pseudo_id,
user_first_touch_timestamp
,ROW_NUMBER() over (partition by user_pseudo_id ORDER BY event_timestamp desc) AS et_rank
from {{database}}.{{userTable}}
)
where et_rank = 1
) as u on event.user_pseudo_id = u.user_pseudo_id
where event.partition_app = ?
and event.partition_year >= ?
and event.partition_month >= ?
and event.partition_day >= ?
维度和度量
报告包括以下维度和度量。您可以通过在QuickSight数据集中创建“计算字段”来添加更多维度或度量。了解更多。
字段 | 类型 | 是什么 | 如何填充 |
---|---|---|---|
user_pseudo_id |
维度 | 用户的SDK生成的唯一ID | 从分析引擎查询 |
user_id |
维度 | 通过SDK中的setUserId API设置的用户ID | 从分析引擎查询 |
device_id |
维度 | 设备的唯一ID,请参考SDK手册了解如何获取设备ID | 从分析引擎查询 |
Event Time (HH:MM:SS) |
维度 | 事件在客户端记录时的MMDDYYYY HH:MM:SS格式的时间 | 在QuickSight中的计算字段 |
event_id |
维度 | 用户在使用您的网站和应用程序时触发的事件的SDK生成的唯一ID | 从分析引擎查询 |
event_name |
维度 | 事件的名称 | 从分析引擎查询 |
platform |
维度 | 用户在会话期间使用的平台 | 从分析引擎查询 |
Crash Rate (by device) |
度量 | 崩溃事件的设备百分比 | 在QuickSight中的计算字段 |
app_info_version |
维度 | 与事件关联的应用程序版本 | 从分析引擎查询 |
geo_locale |
维度 | 与事件关联的地理位置和区域信息 | 从分析引擎查询 |
event_parameter_key |
维度 | 事件参数的键 | 从分析引擎查询 |
event_parameter_key |
维度 | 事件参数的值 | 从分析引擎查询 |
event_date |
度量 | 记录事件的日期(UTC格式的YYYYMMDD) | 从分析引擎查询 |
event_timestamp |
维度 | 事件在客户端记录时的时间(微秒,UTC) | 从分析引擎查询 |
app_info_version |
维度 | 记录事件时应用程序或网站的版本 | 从分析引擎查询 |
app_info_package_id |
维度 | 记录事件时应用程序或网站的包ID | 从分析引擎查询 |
app_info_sdk_name |
维度 | 记录事件时的SDK名称 | 从分析引擎查询 |
app_info_sdk_version |
维度 | 记录事件时的SDK版本 | 从分析引擎查询 |
app_info_package_id |
维度 | 记录事件时应用程序或网站的包ID | 从分析引擎查询 |
device_mobile_model_name |
维度 | 设备的型号名称 | 从分析引擎查询 |
device_network_type |
维度 | 用户记录事件时的网络类型 | 从分析引擎查询 |
device_operating_system |
维度 | 设备的操作系统 | 从分析引擎查询 |
device_operating_system_version |
维度 | 设备的操作系统版本 | 从分析引擎查询 |
示例仪表板
下面的图像是您参考的示例仪表板。