You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm using statsd plugin to collect the consul metrics, but since the last version of consul it seems that part of the metrics (counters) are float and not int64.
For my case, i'm loosing a big amount of data just because of counters can't parse floats values.
My simple solution as I see it, is that in case of counter floats or any other object, try to cast to int64 and throw log that explain that the metrics may not be accurate and suggest to change the metrics type.
Below is the error im getting,
2016/01/18 17:17:47 Error: parsing value to int64: consul.memberlist.udp.sent:183.000000|c
2016/01/18 17:17:47 Error: parsing value to int64: consul.memberlist.udp.received:60.000000|c
2016/01/18 17:17:47 Error: parsing value to int64: consul.memberlist.udp.sent:183.000000|c
2016/01/18 17:17:47 Error: parsing value to int64: consul.memberlist.udp.received:60.000000|c
2016/01/18 17:17:47 Error: parsing value to int64: consul.memberlist.udp.sent:183.000000|c
2016/01/18 17:17:48 Error: parsing value to int64: consul.memberlist.udp.sent:69.000000|c
Thanks
D.
The text was updated successfully, but these errors were encountered:
Hi
I'm using statsd plugin to collect the consul metrics, but since the last version of consul it seems that part of the metrics (counters) are float and not int64.
For my case, i'm loosing a big amount of data just because of counters can't parse floats values.
My simple solution as I see it, is that in case of counter floats or any other object, try to cast to int64 and throw log that explain that the metrics may not be accurate and suggest to change the metrics type.
Below is the error im getting,
Thanks
D.
The text was updated successfully, but these errors were encountered: