Database Monitoring Fundamentals Certification / 04 / 05

Dashboards, Alerts, and Visualization

What this domain covers

This domain covers the mechanisms for continuously watching DBM data. There are four pillars. First, dashboards: cloning out-of-the-box dashboards and template variables. Second, DBM monitors: choosing between Query Samples and Explain Plans, the out-of-the-box types, grouping and Multi Alert, deciding thresholds, and the notification body. Third, choosing visualizations: top list, query value, heatmap, table, and timeseries. Fourth, spotting noisy alerts: Monitor Quality, recovery thresholds, evaluation delay, anomaly detection, composite monitors, and downtimes. The exam asks questions such as "Which widget fits this purpose?" and "What do you fix in this alert?" Figures are based on the official documentation as of October 2026.

Topics listed in the official guide

  • Use dashboards to monitor database health
  • Configure database performance alerts
  • Select appropriate visualizations
  • Identify ineffective or noisy alerts

Key points

  • The Dashboards link at the top of the Query Metrics and Query Samples views takes you to out-of-the-box dashboards. Clone them when you want to customize.
  • Candidates for metric template variables are built from data in the last 48 hours.
  • DBM monitors are created from Monitors > New Monitor > Database Monitoring, choosing Query Samples or Explain Plans as the target.
  • The out-of-the-box DBM monitor types are Waiting Queries and Long Running Queries.
  • You can group by up to four facets, and Multi Alert triggers a separate alert for each group. The default limit is 1,000 DBM monitors per account.
  • To detect that DBM events have stopped arriving, set the condition to below 1.
  • Decide thresholds after setting the graph period to Past 1 Month to understand the usual range, and check how often it would trigger with the red shaded area.
  • Use a top list to rank the top items, a query value for a single value, a heatmap for a distribution, and a table for comparing groups.
  • The Monitor Quality tab in Manage Monitors lists monitors that alert too much, are muted for a long time, have no recipients, lack an evaluation delay, and so on.
  • Use recovery thresholds for repeated triggering and recovery, anomaly detection with seasonality for cyclical metrics, composite monitors for combined conditions, and downtimes during maintenance.

Terms and concepts

Out-of-the-box dashboards and template variables

The Dashboards link at the top of the Query Metrics and Query Samples views takes you straight to out-of-the-box dashboards showing database infrastructure and query metrics. Use them as they are, or clone them and customize them to your needs. Candidates for template variables such as host are built from the data sources used by the widgets, and for metrics the last 48 hours of data are examined. A host stopped a few days ago does not appear as a candidate.

Creating a DBM monitor

DBM monitors are created from Monitors > New Monitor > Database Monitoring. You choose whether to monitor Query Samples or Explain Plans and build search conditions with facets in the same way as in the Query Samples view. If you do not want to start from scratch, you can choose the out-of-the-box Waiting Queries and Long Running Queries. In the long-running query example, the condition is Duration:>30s.

Grouping and Multi Alert

DBM events can be grouped by the values of up to four facets. Simple Alert evaluates all groups together and triggers one alert, while Multi Alert triggers an alert for each group condition. For example, grouping by @db.user with Multi Alert triggers a separate alert for each user that meets the condition. The default limit is 1,000 DBM monitors per account, so consolidate with Multi Alert rather than cloning a monitor for every host.

Deciding thresholds and detecting stopped events

Before deciding a threshold, set the graph period to Past 1 Month to understand the typical range of values, and place the threshold above the usual level. Use the red shaded area of the graph to check that it does not trigger too rarely or too often, and adjust. To know when an application stops sending DBM events, set the condition to below 1. It triggers when no events matching the condition exist in any group during the specified period.

Watching for changes in explain plan cost

Targeting Explain Plans lets you monitor changes in explain plan cost. In the official example, you create query a, which aggregates Explain Plan Cost (@db.plan.cost) per host with moving_rollup, and query b, a copy with Timeshift Week before applied, and evaluate a - b. Comparing with the same weekday last week lets you be notified of cost increases caused by plan changes.

Notification body and variables

In the notification body, conditional variables let you separate triggering and recovery messages. The official example writes a triggering message using {{host.name}}, {{threshold}}, and {{value}} in an {{#is_alert}} section and a recovery message in an {{#is_recovery}} section. Before saving, send a test notification with Test Notifications to check the recipients and wording.

Choosing widgets

A top list ranks tag values from most to least or least to most, such as the hosts using the most CPU. A query value shows one current value prominently and conveys out-of-range values with conditional formatting of the background color. A heatmap shows a distribution across multiple tags with color intensity. A table queries each column independently and joins rows with matching names, so N/A cells appear where there is no overlap. A timeseries shows changes in values over time.

Monitor Quality and evaluation delay

The Monitor Quality tab on the Manage Monitors page lists monitors with high alert volume, monitors muted for more than 60 days, monitors with no recipients, monitors missing an evaluation delay, misconfigured notification handles, composite monitors with missing components, and monitors stuck in an alert state. Cloud integration metrics arrive late, so monitors without an evaluation delay can produce false alarms, and a 15-minute delay is recommended for cloud metrics that are backfilled later.

Mechanisms that reduce noise

For a monitor that repeatedly triggers and recovers around the threshold, set a recovery threshold so that it recovers only when the value has fallen sufficiently. For cyclical metrics whose level differs between weekdays and weekends, use an anomaly monitor with seasonality specified (agile or robust), and have at least three weeks of history for weekly seasonality. To be notified only when two conditions occur at the same time, create a composite monitor with the condition a && b.

Downtimes during maintenance

Downtimes let you avoid triggering monitors during system shutdowns, maintenance, or upgrades. A downtime stops alerts and notifications for all monitors but does not stop monitor state transitions. You can also set one up as a weekly schedule with Schedule Downtime from the Manage Downtime page.

Check your understanding

Check what you have learned with 5 questions