Business events as Events

This commit is contained in:
Jan Kvetina 2021-12-26 13:35:14 +01:00
parent fbde665afe
commit 4903aef586

View File

@ -28,7 +28,7 @@ l AS (
b AS (
SELECT
l.session_id,
COUNT(*) AS count_business
COUNT(*) AS count_events
FROM logs_events l
JOIN s
ON l.created_at >= s.today
@ -45,7 +45,7 @@ SELECT
l.count_requests,
l.count_logs,
l.count_errors,
b.count_business,
b.count_events,
--
s.created_at,
s.updated_at,