[perf] Write UTC dates into performance logs
Instead of writing a local date without a timezone, write a UTC date with a trailing Z.
This commit is contained in:
parent
77fcf68ea3
commit
5b971a66ba
@ -439,7 +439,7 @@ def run_performance_test():
|
|||||||
# version here for simplicity. Using json.dump(indent=0) doesn't real
|
# version here for simplicity. Using json.dump(indent=0) doesn't real
|
||||||
# improve the readability of the output much.
|
# improve the readability of the output much.
|
||||||
report = {
|
report = {
|
||||||
'date': datetime.datetime.now().isoformat(),
|
'date': datetime.datetime.utcnow().isoformat() + 'Z',
|
||||||
'events': events,
|
'events': events,
|
||||||
'monitors': monitors,
|
'monitors': monitors,
|
||||||
'metrics': metric_summaries,
|
'metrics': metric_summaries,
|
||||||
|
Loading…
Reference in New Issue
Block a user