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:
@@ -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(),
|
||||
|
||||
Reference in New Issue
Block a user