opserver / Opserver

Stack Exchange's Monitoring System
https://opserver.github.io/Opserver/
MIT License
4.5k stars 823 forks source link

Fix of Arithmetic overflow on Perf Counters #370

Closed tarynpratt closed 4 years ago

tarynpratt commented 4 years ago

If the perf counters for a server get too large, the query begins to throw an issue with an arithmetic overflow. Most specifically it throws an error:

Unable to fetch from SQL: Arithmetic overflow error converting expression to data type money.

Instead of converting to money, this converts the value to a decimal(25,2) which at least covers my use case.