Open shaobin0604 opened 1 year ago
日志库版本
com.aliyun.openservices:aliyun-log-android-sdk:2.6.4
间隔 5 秒生成两条日志
第一条:
{ "type": "default", "ts": "1698219747762", "dataschema": "1", "contextschema": "2", "__pack_meta__": "12|MTY5NDE4ODU4OTAwNzQ4ODcwOQ==|65|26", "__topic__": "log", "__source__": "Android", "__tag__:__client__": "FSF", "__tag__:__pack_id__": "30C906CEC09B9421-0", "__tag__:__client_ip__": "110.184.125.12", "__tag__:__receive_time__": "1698219761", "__time__": "1698219760" }
ts
__time__
第二条:
{ "type": "default", "ts": "1698219752783", "dataschema": "1", "contextschema": "2", "__pack_meta__": "12|MTY5NDE4ODU4OTAwNzQ4ODcwOQ==|65|32", "__topic__": "log", "__source__": "Android", "__tag__:__client__": "FSF", "__tag__:__pack_id__": "30C906CEC09B9421-0", "__tag__:__client_ip__": "110.184.125.12", "__tag__:__receive_time__": "1698219761", "__time__": "1698219760" }
两条日志的本地时间戳 ts 相差 1698219752783 - 1698219747762 = 5021 毫秒,符合预期。 但两条日志的 __time__ 属性 居然 完全相等
1698219752783 - 1698219747762 = 5021
日志库版本
com.aliyun.openservices:aliyun-log-android-sdk:2.6.4
间隔 5 秒生成两条日志
第一条:
ts
属性:1698219747762__time__
属性:1698219760第二条:
ts
属性:1698219752783__time__
属性:1698219760两条日志的本地时间戳
ts
相差1698219752783 - 1698219747762 = 5021
毫秒,符合预期。 但两条日志的__time__
属性 居然 完全相等