summaryrefslogtreecommitdiffstats
path: root/tests/unit/__init__.py
diff options
context:
space:
mode:
authorJo¶rgen Karlsson <jorgen.w.karlsson@ericsson.com>2016-02-23 13:10:00 +0100
committerJörgen Karlsson <jorgen.w.karlsson@ericsson.com>2016-02-23 12:47:08 +0000
commitd784099d0b178476d6f03a97068e0f16a8454cc0 (patch)
tree22294424dd92e31c9c3b553177ca6570a7e525d4 /tests/unit/__init__.py
parentb7d747660ed0ae56758c667fb25d860b26b1a2c2 (diff)
iperf3: fix for influxDb schema errors
Convert integers to float before dumping to influxDb. Iperf3 is not always consistent about data types in its JSON output. This may cause schema errors when values with different types (integer and float) are written to the same field in InfluxDb. This is a quick fix. A Future improvement would be to write a format func for the data. Change-Id: I7011adc19693f91db5889554fd6bec0d46dc6679 Signed-off-by: Jo¶rgen Karlsson <jorgen.w.karlsson@ericsson.com>
Diffstat (limited to 'tests/unit/__init__.py')
0 files changed, 0 insertions, 0 deletions