Fixed realtime chart display.

This commit is contained in:
Mike Cao 2023-02-17 21:42:42 -08:00
parent 93b77672f3
commit 802c262cd9
14 changed files with 112 additions and 75 deletions

View file

@ -29,6 +29,7 @@ async function clickhouseQuery(websiteId: string, startAt: Date) {
website_id as websiteId,
session_id as sessionId,
created_at as createdAt,
toUnixTimestamp(created_at) as timestamp,
url
from event
where event_type = ${EVENT_TYPE.pageView}