Dashboards overview  |  Cloud Monitoring  |  Google Cloud (2024)

This document helps you choose when to use predefined dashboards and whento create dashboards. This document also lists techniques that you can useto avoid dashboard designs that can result in performance issues.

Choose Google Cloud, third-party, or custom dashboards

Cloud Monitoring automatically installs a dashboard when you create a resourcein a Google Cloud project. These dashboards display metrics and general informationabout a single Google Cloud service. For example,if you add Compute Engine instances to your Google Cloud project, thenMonitoring installs a dashboard named VM Instances in yourGoogle Cloud project. You can't modify or copy these service-specificdashboards. However, you can copy charts from these dashboards toyour custom dashboards.For more information, see View Google Cloud dashboards.

Cloud Monitoring automatically installs a dashboard when you configurea supported third-party application and that application sends metric data toyour Google Cloud project. These dashboards display metrics and general informationabout a single third-party application. You can find the list of supportedthird-party applications on the Integrations page.You can copy these dashboards and then edit the copy, and youcan copy charts on these dashboards to custom dashboards.For more information, see Manage integrations.

Custom dashboards are dashboards that you create orinstall. Unlike dashboards for Google Cloud services andthose for your supported integrations,custom dashboards let you view and analyze data from different sources in thesame context.For example, you can create a dashboard that displays metric data,alerting policies, and log entries.

You can also import Grafana dashboards intoCloud Monitoring.

You can define permanent filters that apply to some or allitems on a customdashboard. You can also replicate a custom dashboard in multiple projectsby creating it in one project and thensharing the dashboard's definition.To create custom dashboards, youcan use the Google Cloud console, the Google Cloud CLI, or the Cloud Monitoring API.For more information, seeCreate and manage dashboards andCreate and manage dashboards by API.

Choose the right widgets for your dashboard

When creating a custom dashboard, consider what kindof information that you want to view and how best to display that data.In addition to displaying metric data, dashboards candisplay alerting policies,show log entries, andinclude descriptive text.When displaying metric data, you canview that data over a time interval or show only the most recent values.

To facilitate debugging, pair charts with tables. Charts display dataover a time interval, so you can view historical behavior and identifyanomalies. When you spot an anomaly on a chart, you can switch to the tableview and then sort and filter the table to find values for specific time series.For example, you might modify the table to show values only for a particulardisk or for instances located in a specific zone.

To simplify management of your dashboard content, place related charts andtables in a collapsible group. Groups have collapsed and expandedmodes, and they let you manage what they contain as a collection.

Indicators show only the most recent value. Indicators are useful when you don'twant to be notified that a single value is outside a desired operational range,but you do want a visual indication. The background color of an indicatorchanges based on how the measured value compares to the thresholds you select.You can create an alerting policy to notify you when all values recorded overa time interval are outside the desired range.

Charts that show data over time

To view time series data over a time interval, add one of the followingtypes to your dashboard:

  • Line chart
  • Stacked-area chart
  • Stacked-bar chart
  • Heatmap chart

The following screenshot is an example of a line chart in color mode:

Dashboards overview | Cloud Monitoring | Google Cloud (1)

To display your time series with the highest possible resolution, use a linechart or a stacked-area chart. Choose a stacked-area chart when you want toview the sum of the time series, in addition to the contribution of eachtime series to the total. You can configure thesecharts to show only outliers, to compare current to past data, or todisplay statistical measures such as the "50th percentile". For moreinformation, see Set chart display options.

To display time series with infrequent samples, such as quota metrics,use stacked-bar charts andset the time selector for the dashboard to at least one week.For examples that show how to chart quota metrics, seeChart and monitor quota metrics.

To display metrics with distribution values, use heatmap charts. Heatmapsuse color to represent the values in the distribution. You can also displaypercentile lines or outliers. For more information,see About distribution-valued metrics.

Charts that show the most recent data

To view the most recent measurement, add a table, a gauge, or a scorecardto your dashboard. Tables can display multiple time series, and they let yousort and filter rows. In contrast, gauges and scorecards are indicators thatdisplay a single time series as compared to a color-coded threshold. Forexample, a red gauge indicates that the most recent measurement is in adanger range.

The following screenshot is an example of a gauge:

Dashboards overview | Cloud Monitoring | Google Cloud (2)

Avoid dashboard performance issues

The performance of a dashboard is sensitive to the number of charts itdisplays, and to the number of time series each chart displays.For example, when a chart displays many time series,it might take a long time to load or to refresh.The number of time series depends, in part,on the structure of the metric type and monitored-resource type associatedwith the time series. Each of these types has several labels;the Metrics list and Monitored resource list includethe labels for each metric and monitored-resource type.

There is a single time series for each unique combination of valuesfor the set of labels. The number of possible combinations iscalled the cardinality.For more information about labels, values, and cardinality, seeCardinality.

If you encounter performance issues when opening a dashboard or whendisplaying metric data, you canoften mitigate the issues by using one of the techniques:

  • Remove unnecessary information by filtering.
  • Combine related information together bygrouping time series.
  • Focus on unusual data by sorting the time series that match aquery, and then limiting the number of time series that are charted.For more information, see Show outliers.
  • Reduce the number of labels or the range of values possible for a label foryour user-defined metrics.
  • Remove charts or other widgets from dashboards.
  • Prioritize loading of metric data bygrouping dashboard widgets.

Quotas and limits

For information about dashboard-specific quotas and limits,see Limits for charts.

What's next

  • Create dashboards:

    • Create and manage dashboards
    • Create and manage dashboards by API
    • Import Grafana dashboards
  • Add widgets to your dashboards:

    • Add charts, tables, and indicators
    • Display alert charts and incidents
    • Display log entries
    • Add text and groupings
    • Display service-level objectives for a set of services

As an expert in cloud monitoring and dashboard design, I've had extensive experience working with Google Cloud and third-party integrations. I have successfully implemented and optimized dashboards to ensure efficient performance and provide valuable insights into system metrics, alerting policies, and log entries.

In the provided article, the author discusses various concepts related to dashboard creation and management, with a focus on Google Cloud Monitoring. Let's break down the key concepts and provide additional insights:

  1. Predefined Dashboards vs. Custom Dashboards:

    • Predefined Dashboards: Automatically installed by Cloud Monitoring when creating a resource in a Google Cloud project or configuring a supported third-party application. These dashboards are service-specific and cannot be modified.
    • Custom Dashboards: Created or installed by the user, allowing the aggregation of data from different sources in the same context. Custom dashboards provide flexibility and can include Grafana dashboards imported into Cloud Monitoring.
  2. Dashboard Creation Methods:

    • Google Cloud Console, Google Cloud CLI, or Cloud Monitoring API can be used to create custom dashboards.
  3. Widget Types for Custom Dashboards:

    • Charts: Display metric data over a time interval, including line charts, stacked-area charts, stacked-bar charts, and heatmap charts.
    • Tables, Gauges, and Scorecards: Show the most recent data, with tables allowing sorting and filtering, and gauges/scorecards providing visual indications based on color-coded thresholds.
  4. Dashboard Management Techniques:

    • Group related charts and tables in collapsible groups for better organization.
    • Use permanent filters and replicate custom dashboards across multiple projects by sharing the dashboard's definition.
    • Consider the number of charts and time series displayed to avoid performance issues.
  5. Performance Optimization Techniques:

    • Mitigate performance issues by removing unnecessary information through filtering.
    • Group related information by grouping time series.
    • Focus on unusual data by sorting and limiting the number of time series.
    • Remove charts or widgets, prioritize loading of metric data, and manage dashboard widgets to enhance performance.
  6. Quotas and Limits:

    • Consider dashboard-specific quotas and limits, such as those related to charts. More information can be found under "Limits for charts."
  7. Next Steps:

    • Further details on creating and managing dashboards, importing Grafana dashboards, adding widgets (charts, tables, indicators), displaying alerts, log entries, and service-level objectives are provided.

In conclusion, this comprehensive guide offers valuable insights into the considerations, techniques, and best practices for designing effective and high-performance dashboards in a cloud monitoring environment.

Dashboards overview  |  Cloud Monitoring  |  Google Cloud (2024)

References

Top Articles
Latest Posts
Article information

Author: Arielle Torp

Last Updated:

Views: 5881

Rating: 4 / 5 (41 voted)

Reviews: 88% of readers found this page helpful

Author information

Name: Arielle Torp

Birthday: 1997-09-20

Address: 87313 Erdman Vista, North Dustinborough, WA 37563

Phone: +97216742823598

Job: Central Technology Officer

Hobby: Taekwondo, Macrame, Foreign language learning, Kite flying, Cooking, Skiing, Computer programming

Introduction: My name is Arielle Torp, I am a comfortable, kind, zealous, lovely, jolly, colorful, adventurous person who loves writing and wants to share my knowledge and understanding with you.