telemetry fixes
This commit is contained in:
1 parent
156a4b5172
commit
95deab6ca4
5 files changed
+83
-11
No files matched your search
@@ -48,6 +48,7 @@ function TelemetryLoop() as void
|
||||
m.dist = GetDist(m.tags)
|
||||
m.userId = GetUserId()
|
||||
|
||||
ReportSessionStart()
|
||||
ReportLastExitCrash()
|
||||
|
||||
m.top.observeField("LogInfo", msgPort)
|
||||
@@ -153,6 +154,18 @@ function TelemetryLoop() as void
|
||||
end while
|
||||
end function
|
||||
|
||||
function ReportSessionStart() as void
|
||||
Sentry.SendEvents([{
|
||||
level: "info"
|
||||
message: "[SESSION] start"
|
||||
fingerprint: ["session start"]
|
||||
release: m.release
|
||||
dist: m.dist
|
||||
tags: m.tags
|
||||
userId: m.userId
|
||||
}])
|
||||
end function
|
||||
|
||||
function GetTags() as object
|
||||
appInfo = m.applicationInfo
|
||||
tags = appInfo@.GetAppInfo()
|
||||
|
||||
Reference in new issue
Block a user