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