Long-running query alert
camaro322hp
Posts: 9
Hello. I'm a new user to SQL Monitor - trying to replace all my cobbled together home-grown monitoring tools I've made over the last few years.
One thing I depend on a lot is a trace that is constantly looking for queries that take over 20 seconds to run from a specific login. I'm trying to recreate this in SQL Monitor, and I see how to set the time threshold for long-running queries, but I don't see how I can limit to (or exclude) specific logins. I see the 2 exclusion boxes for SQL process names or SQL commands reg-ex, but nowhere to limit by login name.
Am I missing something, or is this just not possible at this time?
I'm running v6.0.12.5986
Thanks
One thing I depend on a lot is a trace that is constantly looking for queries that take over 20 seconds to run from a specific login. I'm trying to recreate this in SQL Monitor, and I see how to set the time threshold for long-running queries, but I don't see how I can limit to (or exclude) specific logins. I see the 2 exclusion boxes for SQL process names or SQL commands reg-ex, but nowhere to limit by login name.
Am I missing something, or is this just not possible at this time?
I'm running v6.0.12.5986
Thanks
Comments
Is there some way to exclude by user or login?
https://sqlmonitor.uservoice.com/forums ... -to-exclud
Kind regards
Adam
Also, any input as to my other issue - getting long running query alerts for queries that run less than my threshold? It's happened multiple times now.
Kind regards
Adam