DBADash Alerting #516
Replies: 4 comments 2 replies
-
Alerting is definitely an area that could be improved. 😊 There is an issue with creating the objects in the DBADashDB database though. The dacpac is currently deployed using: This means that your changes will be removed from the DB the next time you upgrade. You could opt to handle the dacpac deployment manually. It would be great if there was an option to ignore objects in a specific schema. I might consider changing it to |
Beta Was this translation helpful? Give feedback.
-
Anyway, thanks for the heads-up :) I will reconsider the placement of these extensions in an external DB, at least for the time being. |
Beta Was this translation helpful? Give feedback.
-
Made some progress with the alerts and I realized I missed to mention few facts, rather important. But before anything, all the objects for the alerts are now out of the DBADash repository database. Currently, the alerts are implemented as follows:
If after all of the above, the interest is still present, I will post a link to the github repo once I have a stable version for the whole thing. @DavidWiseman if you want to have a look over the code, for whatever reasons, you'll be more than welcome. Just let me know. The 2 alerts I already have in place (and fine-tuning): |
Beta Was this translation helpful? Give feedback.
-
The next version of DBA Dash will start to use |
Beta Was this translation helpful? Give feedback.
-
Description
I had the following problem. One of the monitored servers (SQL2019) is running DynamicsAX and one of the main performance issues is facing, are excessive blocking.
So I decided to build an extension for DBADash to send alerts when excessive blocking is detected, using the template kindly provided here. Although it's still wip, here's how it works:
Behind the scenes
All objects resides on a dedicated schema (ext), so any future upgrades (hopefully) will not impact it. The whole alerting framework is thought to be flexible:
And probably few more...
Future plans
Develop the framework so it will be able to send alerts not only via email, but also Slack, Teams and other platforms that support webhooks
Acknowledgments
Blocking alert template was provided by @DavidWiseman
Webhook support adapted from (can't remember / find the blog - I am trully sorry)
Wondering if there's an interest for this "extension" and if yes, I will make it available when it's finished.
Beta Was this translation helpful? Give feedback.
All reactions