Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature Request: Alert when table record count > x #1209

Open
jacobgexigo opened this issue Feb 6, 2025 · 1 comment
Open

Feature Request: Alert when table record count > x #1209

jacobgexigo opened this issue Feb 6, 2025 · 1 comment

Comments

@jacobgexigo
Copy link

We have certain tables that are queue tables that clear out as a service processes the records. We have written a checker that looks at any table that we specify (in this case LIKE '%Queue') and if record count gets to X then we get an email so we can triage it as it typically means the service has stopped processing the queue for some reason.

It would be nice to be able to have an alert for a scenario like this with an inclusive or exclusive filter capability. Inclusive for this specific example is best because there may only be 10 tables out of 1,000 that we want to alert on and exclusive would be cumbersome. On the other hand, if you want to know if any table gets to X records, then of course exclusive would be the better filter for that.

@DavidWiseman
Copy link
Collaborator

You could create a custom performance counter that has a count of the number of items in the table. Once it's in a performance counter you will be able to alert on it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants