refactor views and queries for dashboard
This commit is contained in:
1 parent
bfd5c5f150
commit
f518066d93
7 files changed
+34
-43
No files matched your search
@@ -46,7 +46,7 @@ async function clickhouseQuery(
|
||||
...filters,
|
||||
eventType: EVENT_TYPE.pageView,
|
||||
});
|
||||
const table = unit === 'hour' ? 'website_event_metric_hourly' : 'website_event_metric_daily';
|
||||
const table = unit === 'hour' ? 'website_event_stats_hourly' : 'website_event_stats_daily';
|
||||
|
||||
return rawQuery(
|
||||
`
|
||||
|
||||
Reference in new issue
Block a user