fix(telemetry): review findings

- wau/mau trailing scans run hourly and on day finalization, not every tick
- exclusion lookup failures cached 30s so an st outage cannot amplify
- unverified relation filter dropped; player emptiness checked in js
- anonymous unauthenticated read failures no longer logged
- alerts and exclusions ensure supertokens init on cold pods
This commit is contained in:
2026-08-25 23:26:34 -07:00
parent 31f6237446
commit 1ddcffc511
8 changed files with 93 additions and 15 deletions
+6
View File
@@ -129,6 +129,12 @@ export const serverFnLoggingMiddleware = createMiddleware({
const duration = Date.now() - startTime;
const errorMessage = error instanceof Error ? error.message : String(error);
// Anonymous visitors (crawlers included) hitting authed reads are noise,
// not failures worth a row each.
if (errorMessage === "Unauthenticated" && !resolveActor()) {
throw error;
}
recordActivity({
name,
player: resolveActor(),