telemetry fixes

This commit is contained in:
Brahim Hadriche committed 2026-07-23 13:39:43 -04:00
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()