feat(chalice): metrics logs
This commit is contained in:
parent
760b6e0304
commit
e0151008c1
1 changed files with 5 additions and 0 deletions
|
|
@ -819,6 +819,11 @@ def get_missing_resources_trend(project_id, startTimestamp=TimeUTC.now(delta_day
|
|||
e["startTimestamp"] = startTimestamp
|
||||
e["endTimestamp"] = endTimestamp
|
||||
params["value"] = e["url"]
|
||||
print(">>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>")
|
||||
print(params)
|
||||
print(">>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>")
|
||||
print(ch_query)
|
||||
print(">>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>")
|
||||
r = ch.execute(query=ch_query, params=params)
|
||||
|
||||
e["endedAt"] = r[-1]["max_datatime"]
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue