Skip to content

Commit

Permalink
Merge 943b957 into c7b39b3
Browse files Browse the repository at this point in the history
  • Loading branch information
mtlynch committed Feb 12, 2018
2 parents c7b39b3 + 943b957 commit e4b3060
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion sia_metrics_collector/serialize.py
Original file line number Diff line number Diff line change
Expand Up @@ -59,10 +59,11 @@ def _state_to_dict(state):


def as_console_string(state):
return ('{timestamp} {uploaded_bytes}'
return ('{timestamp} {api_latency:5d}ms {uploaded_bytes}'
' {contract_fee_spending}/{contract_count}'
' {storage_spending} {upload_spending} {download_spending}').format(
timestamp=state.timestamp.strftime('%H:%M:%S'),
api_latency=int(state.api_latency),
uploaded_bytes=_format_bytes(state.uploaded_bytes),
contract_fee_spending=_format_hastings(
state.contract_fee_spending),
Expand Down

0 comments on commit e4b3060

Please sign in to comment.