跳转到内容

数据模型

本文介绍 Framedash SDK 收集和发送的数据结构。

所有遥测数据都以事件的形式发送。每个事件包含通用字段和自定义属性。

字段类型说明
event_typestring事件类型(例:performance_sampleplayer_death
timestampISO 8601事件发生时间
session_idUUID游戏会话 ID
device_idstring设备标识符
build_idstring构建版本

SDK 自动收集的性能数据:

字段类型单位
fpsfloatframes/sec
frame_timefloatms
gpu_timefloatms
memory_usedint64bytes
positionvec3world units

开发者定义的游戏专属事件。可在 properties 字段中存储任意 JSON 对象。

从游戏启动到结束为一个会话。会话包含以下元数据:

  • 设备信息(OS、GPU、RAM)
  • 构建信息(版本、配置文件)
  • 玩家信息(可选)