Page MenuHomePhabricator

D14043.id46043.diff
No OneTemporary

D14043.id46043.diff

diff --git a/keyserver/src/cron/metrics.js b/keyserver/src/cron/metrics.js
--- a/keyserver/src/cron/metrics.js
+++ b/keyserver/src/cron/metrics.js
@@ -21,6 +21,7 @@
const thirtyDaysAgo = Date.now() - millisecondsPerDay * 30;
const [
dailyActives,
+ weeklyActives,
monthlyActives,
lastDayOneWeekRetention,
lastDayTwoWeekRetention,
@@ -32,6 +33,7 @@
monthlyUniqueMessageAuthors,
] = await Promise.all([
getActiveCountSince(oneDayAgo),
+ getActiveCountSince(oneWeekAgo),
getActiveCountSince(thirtyDaysAgo),
getRetention(7, 6, 1),
getRetention(14, 13, 1),
@@ -45,6 +47,7 @@
const metrics = {
'DAUs': dailyActives,
+ 'WAUs': weeklyActives,
'MAUs': monthlyActives,
'D7 (daily)': lastDayOneWeekRetention,
'D14 (daily)': lastDayTwoWeekRetention,

File Metadata

Mime Type
text/plain
Expires
Sat, Dec 28, 7:29 PM (8 h, 7 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2714823
Default Alt Text
D14043.id46043.diff (827 B)

Event Timeline