vernemq / vmq_mzbench

An MQTT loadtest and usage scenario tool for VerneMQ and other MQTT systems.
Apache License 2.0
42 stars 44 forks source link

Resolution for mqtt.message.pub_to_sub.latency.* #12

Open KrlosWd opened 7 years ago

KrlosWd commented 7 years ago

Hello,

After working with mzbench + vmq_mzbench for a while, I noticed that the resolution for mqtt.message.pub_to_sub.latency.50, mqtt.message.pub_to_sub.latency.90, mqtt.message.pub_to_sub.latency.99, mqtt.message.pub_to_sub.latency.999 and mqtt.message.pub_to_sub.latency.mean is reduced due to the fact of using an exponential notation to save the data (e.g. 1.23e4). Is that something that we can configure? otherwise I think it would be a good improvement to save those values with as much resolution as possible.

Thanks in advance for your attention/help!