Change time parameters to include the exact start time

Change-Id: I49e670dc3db23b7aef38d76ca17a4d5a6dd2ff74
This commit is contained in:
Ryan Brandt 2017-07-14 10:50:30 -06:00
parent cc5b31059e
commit e4cbee7d94
1 changed files with 2 additions and 2 deletions

View File

@ -257,8 +257,8 @@ class MetricsRepository(metrics_repository.AbstractMetricsRepository):
clean_dimension_value.encode('utf8'))
if start_timestamp is not None:
where_clause += " and time > " + str(int(start_timestamp *
1000000)) + "u"
where_clause += " and time >= " + str(int(start_timestamp *
1000000)) + "u"
if end_timestamp is not None:
where_clause += " and time < " + str(int(end_timestamp *