Skip to content

[BUG] Poison Wait alert fires incorrectly when wait value is 0ms (false positive) #445

@tdinh2011

Description

@tdinh2011

Component

Lite

Performance Monitor Version

2.1.0

SQL Server Version

SQL Server 2019 CU32 GDR

Windows Version

Windows Server 2022 Datacenter

Describe the Bug

Poison Wait alerts are firing repeatedly even though the actual wait time is 0ms, which is well below the configured threshold of 500ms avg wait.

Steps to Reproduce

  1. Configure Poison Wait alert with threshold >= 500ms
  2. Monitor a server where THREADPOOL (and other poison wait types) have 0ms avg wait
  3. Alert fires repeatedly despite no actual poison waits occuring

Expected Behavior

No alert should fire when the avg wait time (0ms) is below the configured threshold (500ms)

Actual Behavior

Alert fires every ~5 minutes. The alert history log also records current_value: 0 and threshold_value: 0

Error Messages / Log Output


Screenshots

Image Image

Additional Context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions