Merge remote-tracking branch 'origin/api-v1.7.0' into dev

This commit is contained in:
Taha Yassine Kraiem 2022-06-30 17:22:42 +02:00
commit 396f5d7b45

View file

@ -1667,7 +1667,7 @@ def get_slowest_domains(project_id, startTimestamp=TimeUTC.now(delta_days=-1),
FROM resources {"INNER JOIN sessions_metadata USING(session_id)" if len(meta_condition) > 0 else ""}
WHERE {" AND ".join(ch_sub_query)}
GROUP BY resources.url_host
ORDER BY avg DESC
ORDER BY value DESC
LIMIT 5;"""
params = {"project_id": project_id,
"startTimestamp": startTimestamp,