I noticed a server suddenly start reporting ~8M tcp packets sent per second, based on a metric from a query of the global value @@packsent. This was a result of @@packsent having overflowed its int32 to become negative. Proposed solution: when converting int values that will become counter metrics, cast to uint before casting to float64.
I noticed a server suddenly start reporting ~8M tcp packets sent per second, based on a metric from a query of the global value @@packsent. This was a result of @@packsent having overflowed its int32 to become negative. Proposed solution: when converting int values that will become counter metrics, cast to uint before casting to float64.