Closed DifferentialOrange closed 2 years ago
Graphite exporter plugin strips all decimal values from a number.
https://github.com/tarantool/metrics/blob/7f8dd5c98f41e569ba8142bf8d8e8cd2d1f033e4/metrics/plugins/graphite.lua#L31
tarantool> ('343423.23423'):match('%d*') --- - '343423' ...
AFAIR, plain tonumber solves all problems.
tonumber
Graphite exporter plugin strips all decimal values from a number.
https://github.com/tarantool/metrics/blob/7f8dd5c98f41e569ba8142bf8d8e8cd2d1f033e4/metrics/plugins/graphite.lua#L31