Stock Monitors

Monitors Store contains a set of predefined monitors that are shipped along with ADOC. These monitors are created on critical metrics which are highly important and need to be monitored. Since the monitors are pre-defined by ADOC, you need not create them again. You can just import them from this page. The imported monitors appear on the Monitors and Alerts page. If you delete an imported monitor, the deleted monitor is moved back to the Monitor store page.

To navigate to the Monitor Store, perform the following:

  1. From the left pane, click Compute and select Monitors.
  2. Click the Monitors Store button. The Stock Monitors page is displayed.

To import a monitor from the Monitors Store, perform the following:

  1. Select the type of datasource from the Datasource field.
  2. Select the name of the datasource from the Datasource Name field. Stock monitors for the selected datasource are displayed.
  3. Select the monitors to import by clicking the check box for the monitor.
  4. Click Import Stock Monitor. The monitor is imported to the Monitors List page and you are redirected to the Monitors list page.

To import multiple monitors from various datasources, select the Import another Monitor check box before you click the Import Stock Monitor button. When you select the Import another Monitor check box before you click the Import Stock Monitor, you are not redirected to the monitors page. You are on the Monitors Store page and you can select another data source from which you want to import the Stock monitors.

Data Source Monitors

The list of stock monitors for the following data sources are present below:

Snowflake

Display NameDescriptionParametersSeverity (User Editable)
Account Statement TimeoutThe alert is raised when the account statement timeout is either set to null or defaulted to 178,000 seconds (2 days).

Default Statement Timeout (in Sec): Set the default statement timeout parameter in seconds.

Execute query in every (in Days): Set the query execution frequency in any preferred unit, such as Days, Hours, Minutes, or Seconds.

Medium
Account Resource MonitorThe Account Resource Monitor alert monitors the account to ensure that the resource monitor is configured. It raises an alert if the resource monitor is not properly set up for the account.NA Medium
Deprecated Driver UsageMonitor if the connectors are not using the latest drivers to query data.NA Medium
Automatic Clustering SpendMonitor the clustering cost for the tables, ensuring it does not exceed the default threshold of 5 credits per day.NA High
Cloud Service CostMonitor the cloud service cost for the warehouse and alert if it exceeds the default threshold of 10%.NA High
Contract OverageMonitor the contract credit consumption and raise an alert when it reaches the default threshold of 80%.NA Medium
Cost AlertMonitor the weekly spend and trigger an alert if it exceeds the default threshold of 20%.Time In Days: Set the comparison period's length in days. For example - 7 days Medium
Dormant UsersMonitor user activity and identify users who have not used the application for a period exceeding the default threshold of 30 days.NA Medium
Failed Scheduled TasksMonitor and detect any failed scheduled tasks within the account.Task Data: Set a numerical parameter to determine the look back time for the failed tasks. For example- 60. Execute query in every: Set the query frequency in Seconds, Mins, Hours, or Days. High
Long Running QueriesMonitor queries that exceed the predefined threshold of 30 minutes in duration.Query Timeout (In Min): In minutes, specify the query timeout period. Example -30 mins Specify Warehouses to Exclude: Specify the warehouses that should be set aside. Example - WH1, WH4. Execute query in every: Set the query frequency in Seconds, Mins, Hours, or Days. Critical
Materialize View CostMonitor materialized views that exceed a daily spending threshold of 5 credits.NA High
Snowpipe CostMonitor snowpipes that exceed a daily spending threshold of 10 credits.NA High
Queries External File Listing TimeMonitor queries that exceed the default threshold of 30 seconds while listing external files.

External Files Time Parameter(in Milliseconds): Set the threshold limit time for listing external files in milliseconds. Example: For 30 sec set the time to 30000 milliseconds.

Time In Minutes: Set the time for alert in minutes. Execute query in every: Set the query frequency in Seconds, Mins, Hours, or Days.

Medium
Queries QueuedMonitor queries that remain queued in the warehouse for more than the default threshold of 5 seconds within a one-hour timeframe.

Queue Time(in Seconds): Set the time in seconds after which the alert will be activated.

Queue Data(in Minutes): Set the time for which the data will be held in the queue.

Specify Warehouses to Exclude: Specify the warehouses that must be excluded. Example - WH1, WH4.

Execute query in every: Set the query frequency in Seconds, Mins, Hours, or Days.

High
New Account RoleMonitor the new roles created in the account.NA Medium
User UpdatesMonitor the account if a sensitive update(ex. role grant, password reset, etc) is made to the user.NA Medium
User Login FailureMonitor the account for failed login attempts exceeding the default threshold of 3 times.NA High
Unused TablesMonitor the tables that are not used for a long time defaulted to 90 days.Table Unused For(in Days): Set the number of days after which the alert will be generated. Execute query in every: Set the query frequency in Seconds, Mins, Hours, or Days. Medium
User CreatedMonitor the account for any new user additions.NA Medium
Users Multi Factor Auth Not EnabledMonitor the account to raise an alert if the users have not enabled MFA.NA High
Warehouse Activity MonitorMonitor for events triggered on the warehouse such as resizing of a warehouse, add a new warehouse or drop a warehouse.
  • Warehouse Events History(in Days)
  • Execution frequency
Medium
Warehouse Auto Suspend TimeRaise an alert for the warehouse where the auto-suspend timeout is not set or exceeds 5 minutes.

Auto Suspend Time (In Sec): Set the number of seconds that the timer will run for.

Execute query in every: Set the query frequency in Seconds, Mins, Hours, or Days.

Medium
Warehouse Missing Resource MonitorMonitor the warehouses with missing resource monitors.NA Medium
Warehouse Statement TimeoutMonitor the warehouses with default statement timeout set to 2 days.Default Statement Timeout (In Sec): Set the default statement timeout parameter in seconds. Execute query in every: Set the query frequency in Seconds, Mins, Hours, or Days. Medium
Detect High Churn TablesThis monitor identifies tables in Snowflake storage that experience a high frequency of data changes or updates, indicating a significant level of churn.NA Medium
Detect Auto Clustering for High Churn TablesThis monitor identifies tables that have auto clustering enabled and experience a high churn rate.NA Medium
Snowflake UsagesThis will monitor Snowflake Usages against provided threshold.Time in Days: Set the comparison period's length in days. For example - 7 days
Snowflake Old TablesThis monitor detects tables created within a specified number of days. By default, it flags tables created in the last 30 days, with the option to modify this timeframe in the Edit Monitor page.

Specify Database.schemaName(s): Enter a comma-separated list of database.schemaName(s) to target specific tables for monitoring by the Snowflake Old Tables monitor. If left blank, the monitor will include all Snowflake tables created within the specified time period.

Table Creation Back Days: Defines the number of days to look back for table creation. The default value is 30 days, but this can be adjusted as needed.

Execution Frequency: Determines how often the monitor runs. Use the dropdown to select the desired frequency interval (e.g., days, hours, minutes, or seconds).

Databricks

Display NameDescriptionParametersSeverity
Global Init Script DisableMonitor to alert when global init script is disabled.NA High
Total Clusters RunningMonitor the account if the number of clusters running is more than the threshold defaulted to 50 clustersNA High
Application CPU TimeMonitor the health of the applications if the CPU time is more than the threshold defaulted to 1 hourNA Medium
Application File Write BytesMonitor the application writing to file system more than the threshold defaulted to 1MBNA Medium
Application JVM Garbage Collection TimeMonitor the health of the applications if the JVM Garbage Collection time is more than the CPU time defined in the threshold defaulted to 10%NA Medium
Application Shuffle WriteMonitor the health of the application if the shuffle write is more than the threshold defaulted to 1MBNA Medium
Application Local Shuffle ReadMonitor the health of the application if the shuffle read is more than the threshold defaulted to 1MBNA Medium
Application Remote Shuffle ReadMonitor the health of the application if the shuffle read from the remote file location is more than the threshold defaulted to 1MBNA Medium
Application Driver High CPU UsageMonitor the Application which uses CPU more than the threshold defaulted to 70%NA High
Application Executor CPU WastageMonitor the application running more than 5 mins with CPU usage less than the threshold defaulted to 10%NA High
Application Executor File ReadMonitor the Application where file reads are high defaulted to 1GBNA High
Application Executor Low CPU UsageMonitor the Application where usage is less defaulted to 10%NA High
Total Failed ClusterMonitor the account if the number of clusters failed is more than the threshold in an hour defaulted to 2 clustersNA Medium
High DBU Consuming ClusterMonitor the application with high DBU consumption in an hour defaulted to 25 DBUs
  • Max Dbus Per Hour
  • Execution frequency
Medium
Long Running ClustersMonitor the cluster which runs more than threshold defaulted to 60 Minutes
  • Running Time Of Cluster (In Minutes)
  • Specify Job Ids To Include (Ex: jobid1, jobid2)
  • Specify Cluster Ids To Include (Ex: id1, id2)
  • Execution frequency
Medium
Application Executor Memory UsageMonitor if the average memory usage by executor is more than the threshold defaulted to 50%NA High
Total Submitted ClustersMonitor the account if total submitted clusters is more than the threshold defaulted to 10 for in 1 hourNA High
Application Driver Memory UsageMonitor the application drivers with high memory usage defaulted to 50%NA Medium
Total All Purpose ClusterMonitor the account if total all purpose clusters exceeds the threshold defaulted to 50 in an hourNA High
New Expensive QueryMonitor the new queries running longer than threshold time defaulted to 120 seconds.
  • Threshold For Duration Of Long Queries.(in Seconds)
  • Queries Look Back Time In Minutes
  • Execution frequency
Medium
Repeated Expensive QueriesMonitor the repeated queries running longer than threshold time defaulted to 120 seconds.
  • Threshold For Duration Of Long Queries.(in Seconds)
  • Queries Look Back Time In Minutes
  • Occurrence Threshold For Repeated Queries.
  • Execution frequency
Medium
New Heavy Scan QueryMonitor the new queries if bytes scanned is greater than threshold defaulted to 10KB.
  • Threshold For Bytes Scanned Of Queries
  • Queries Look Back Time In Minutes
  • Execution frequency
Medium
Repeated Heavy Scan QueriesMonitor the repeated queries if bytes scanned is greater than threshold defaulted to 10KB.
  • Threshold For Bytes Scanned Of Queries
  • Queries Look Back Time In Minutes
  • Occurrence Threshold For Repeated Queries.
  • Execution frequency
Medium
Query HistoryThis entity contains the history of all Databricks queries executed on your Databricks workspace.
Frequent Cluster TerminationAlert if clusters are terminated frequently due to spark error, default look back time is 15 minutes.
  • Cluster Data Look Up Time (in Minutes)
  • Specify The Threshold(number Of Terminated Clusters)
  • Execution frequency
Medium
High Cluster CostMonitor to check running clusters cost.
  • Running Cluster's Cost Threshold
  • Specify Cluster Names To Include (Ex: name1, name2)
  • Specify Job Ids To Include (Ex: jobid1, jobid2)
  • Execution frequency
Medium
Databricks Workspace CostThis will monitor Databricks Workspace cost against provided threshold.
  • Time In Days
Medium
Running Heavy Scan QueryMonitor the running queries if bytes scanned is greater than threshold defaulted to 1GB.
  • Threshold For Bytes Scanned Of Queries
  • Queries Look Back Time In Minutes
  • Execution frequency
Medium
Running Expensive QueryThis monitor raises an alert when a running queries duration is longer than the provided duration.
  • Threshold For Duration Of Running Queries.(in Minutes)
  • Execution frequency
High
Running Queries CostThis monitor raises an alert when the queries cost is more than the provided cost.
  • Threshold For Cost Of Running Queries.
  • Threshold For Duration Of Running Queries.(in Minutes)
  • Execution frequency
High
Running Clusters after Work HoursMonitor the clusters which are running after work hours, defaulted to Before 10 AM and Post 5 PM IST.
  • Cluster Running Before Time in Hour (1-24)
  • Cluster Running After Time In Hour(0-23)
  • Timezone
  • Specify Job Ids To Include (Ex: Jobid1,jobid2)
  • Specify Cluster Ids To Include (Ex: Id1,id2)
  • Execution frequency

Azure Data Factory

Monitor NameDescriptionParameters
Failed ActivityMonitor the activities for failure with specific look back defaulted to one hour.
  • Time in Hours
  • Execution Frequency
Factory CostMonitor the factory cost with specific look back time defaulted to one day.
  • Factory Name
  • Number of Days
Pipeline CostMonitor the cost of specified pipeline with specific look back time defaulted to one hour.
  • Pipeline Name
  • Number of Days

Snowflake Stock Monitors with Recommendations

Three Snowflake stock monitors have built in recommendations provided by ADOC. You can choose to enable or disable the recommendation. When you enable the recommendation, you set the auto trigger option. The auto trigger option automatically performs the required action when the monitor reaches its threshold level and there is no requirement to create an alert. Hence ADOC allows you to disable alert creation for these three Stock alerts which have a recommendation that auto triggers the action. If you disable alert creation, and if the monitor exceeds its defined thresholds, you can see the alert as a recommendation on the Snowflake Warehouse page.

The three Monitors which have recommendation are:

  • ACCOUNT_LEVEL_MONITORS: This monitor recommends you handle account level settings.
  • DEPRECATED_DRIVER _USAGE: This monitor recommends you to navigate to Snowflake and update the drivers.
  • SNOWFLAKE_LONG_RUNNING_QUERY: This monitor allows you to abort the long running query from within ADOC.

Important

To execute the Abort Query operation, you must provide the Operate privilege for the role assigned to ADOC (generally integration user), for each warehouse.

The syntax to provide the Operate privilege is as follows.

SQL
Copy

Features of Monitor Store

  • Multiple Selection: You can select multiple monitors at once, or you can select all the monitors together.
  • Sort Alerts: To sort the column values, click the icon to sort in ascending , or descending order.
  • You can customize the number of alerts that appear on the screen.
  • Filter Alerts: You can filter stock monitors by clicking icon on the top right corner of the table. You can filter the stock monitors by their name.
Type to search, ESC to discard
Type to search, ESC to discard
Type to search, ESC to discard