|
|
@@ -55,8 +55,6 @@ def get_performance_data(uuid, uuid_field, the_class=None, granularity='hour'):
|
|
|
Rules.UUID.value,
|
|
|
]
|
|
|
|
|
|
- t = {'t1': 0, 't2': 1}
|
|
|
-
|
|
|
try:
|
|
|
ji.Check.previewing(args_rules, {'uuid': uuid})
|
|
|
uuids_str = ':'.join([uuid_field, 'in', uuid])
|
|
|
@@ -92,7 +90,7 @@ def get_performance_data(uuid, uuid_field, the_class=None, granularity='hour'):
|
|
|
needs = list()
|
|
|
data = list()
|
|
|
|
|
|
- for t in range(boundary, now_ts, interval):
|
|
|
+ for t in range(boundary + interval, now_ts, interval):
|
|
|
needs.append(t - t % interval)
|
|
|
|
|
|
for row in rows:
|