sql_exporter
sql_exporter copied to clipboard
Incorrect value rounding when working with intervals.
I tried to graph database process delays with:
select time_to_sec(timediff(now(), last_update)) as time_skew from some_table;
The code always works for me when executed from MySQL console, however when I try to query metrics I sometimes get:
time_skew 3.020399e+06
The value itself never exceeeds 1000.