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
+4 -4
View File
@@ -113,8 +113,8 @@ export const buildDayRollups = (
activities: ActivityAccumulator;
clientEvents: ClientEventAccumulator;
clientErrors: ClientErrorAccumulator;
wau: number;
mau: number;
wau?: number;
mau?: number;
partial: boolean;
}
): RollupInput[] => {
@@ -133,8 +133,8 @@ export const buildDayRollups = (
const dayPlayers = new Set([...activities.players, ...clientEvents.players]);
push("dau", "", dayPlayers.size);
push("wau", "", wau);
push("mau", "", mau);
if (wau !== undefined) push("wau", "", wau);
if (mau !== undefined) push("mau", "", mau);
for (const [name, fn] of activities.perFn) {
push("server_fn.count", name, fn.count);