Skip to main content
Sumo Logic

Lab 10 - Monitoring Metrics using dashboards and alerts

This lab teaches you how to add metrics charts as panels to dashboards.


Dashboards are a collection of metric or log Panels, allowing users to easily monitor trends or critical events over time. 

Create a Dashboard with 4 queries from previous labs. Your results will vary from the screenshot below, depending on which labs you decided to display, and what display options (line vs area, colors, outliers) you select.


Metric Monitors

For your metrics query, you can set the monitor on a time series to alert when the metric has crossed a static threshold, and then send an email or Webhook notification. You can set a maximum of one critical alert, one warning alert, and one missing data alert for each monitor, each with one or more notification destinations.

A monitor can alert on a single time series, multiple time series, or a Join of two metrics queries. In other words, if your monitor query produces 10 different time series, you will get alerts on all of those time series individually. If your query applies to the Join condition only, you will receive a separate alert on that Joined value. For example, if you create a monitor to alert on CPU across 10 hosts, you will receive a separate alert for each individual host that crosses the threshold you set.

For this lab, let's create some metric monitors to alert on CPU Usage for all our containers.

  1. Under Manage Data, select Alerts and click on the Metric Monitoring tab. Click the Add Monitor button on the far right side. clipboard_e333e73ba4568dc5a6b6116aa84cfa88d.png

  2. Create the following query

    metric=CPU_usage container=container*

  3. In the Metric Monitor screen, you'll be able to specify thresholds. Use the following:

    • Critical: Greater than 90 for all of the last 15 minutes

    • Warning: Greater than 85 for all of the last 15 minutes


      Note: You might need to adjust the values according to your metrics data.

  4. Your metrics will reflect this graphically:


  5. Once you specify a Name and an optional Description, you can save your new Metric Monitor.

  6. Lastly, if you did save your Monitor, do not forget to delete it so you do not get Alerts on this training data. To delete your training Metric Monitor: 

    • In the left Navigation bar, go to Manage Data > Alerts:

    • Find your Metric Monitor by Name and Delete it on the right-hand side.