Private GIT

Skip to content
Snippets Groups Projects
Commit 3b9ccf5c authored by breadlysm's avatar breadlysm
Browse files

fixed a blunder

parent 557700d2
Branches
Tags
No related merge requests found
......@@ -47,7 +47,7 @@ def format_for_influx(cliout):
'time': data['timestamp'],
'fields': {
# Byte to Megabit
'bandwidth': data['download']['bandwidth'], #/125000
'bandwidth': data['download']['bandwidth'] / 125000,
'bytes': data['download']['bytes'],
'elapsed': data['download']['elapsed']
}
......@@ -57,7 +57,7 @@ def format_for_influx(cliout):
'time': data['timestamp'],
'fields': {
# Byte to Megabit
'bandwidth': data['upload']['bandwidth'], #/125000
'bandwidth': data['upload']['bandwidth'] / 125000,
'bytes': data['upload']['bytes'],
'elapsed': data['upload']['elapsed']
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment