feat(chalice): fixed metrics

This commit is contained in:
Taha Yassine Kraiem 2022-09-14 21:31:08 +01:00
parent 21ae5c21f2
commit 30ccefb13a

View file

@ -793,7 +793,7 @@ def get_missing_resources_trend(project_id, startTimestamp=TimeUTC.now(delta_day
GROUP BY url_hostpath
ORDER BY doc_count DESC
LIMIT 10;"""
params = {"project_id": project_id, "startTimestamp": startTimestamp,
params = {"step_size": step_size, "project_id": project_id, "startTimestamp": startTimestamp,
"endTimestamp": endTimestamp, **__get_constraint_values(args)}
rows = ch.execute(query=ch_query, params=params)