Commit 01644dc
sp_PressureDetector: filter out zero-rate perfmon counters
Rows with cntr_value = 0 are now excluded at insert into the table
variable, and rows where total_per_second rounds to 0 via integer
division are filtered from the result set. Reduces noise when
reviewing perfmon stats on long-uptime servers.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>1 parent 6e717dd commit 01644dc
1 file changed
Lines changed: 3 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2056 | 2056 | | |
2057 | 2057 | | |
2058 | 2058 | | |
2059 | | - | |
| 2059 | + | |
| 2060 | + | |
2060 | 2061 | | |
2061 | 2062 | | |
2062 | 2063 | | |
| |||
2125 | 2126 | | |
2126 | 2127 | | |
2127 | 2128 | | |
2128 | | - | |
| 2129 | + | |
2129 | 2130 | | |
2130 | 2131 | | |
2131 | 2132 | | |
| |||
0 commit comments