Using dashboards

Dashboards are one way for you to view and analyze metric data that is important to you. The Stackdriver Monitoring console automatically provides predefined dashboards for the resources and services that you use. These dashboards require no setup or configuration effort.

In addition to predefined dashboards, Stackdriver Monitoring lets you define custom dashboards. With custom dashboards, you have complete control over the charts that are displayed and the configuration.

Predefined dashboards

Stackdriver Monitoring uses predefined dashboards as a mechanisms to convey information to you about the resources your are monitoring. To view your predefined or custom dashboards, go to the Stackdriver Monitoring console:

Go to Monitoring

From this console, you use the Resources menu to view the list of predefined dashboards and you use the Dashboards menu to see the list of custom dashboards. Consider the Resources menu for a particular Google Cloud Platform (GCP) project:

Show the predefined dashboard options.

The Resources menu displays options for Metrics Explorer and the key visualizer for Cloud Bigtable, and then it lists the available predefined dashboards. For this example, the GCP project can access predefined dashboards for the following resources and services:

  • Block storage Volumes
  • Cloud Spanner
  • Cloud Storage
  • (Compute Engine) Instances
  • Security groups
  • App Engine
  • BigQuery
  • Kubernetes Engine NEW

Predefined dashboards are designed to display the most important information for the resource or service, and they aren't constrained to a fixed format. For example, the following predefined dashboards include very different types of information:

  • Cloud Storage dashboards include charts, incidents, events, and a navigable list of your storage buckets.
  • Kubernetes Engine NEW dashboards are a navigation tool to view your clusters. As you navigate through the cluster hierarchy, subsequent panes display charts, incidents, and other metric information.

To control the default chart configuration and to set the display period, you use the dashboard controls. To override the dashboard settings for a chart, you use the chart's toolbar. For more information on these toolbars, see Configuring dashboards. You don't have the option to add or remove charts to predefined dashboards.

Custom dashboards

You can create custom dashboards to display specific charts. After you create your dashboard, you add charts that display the data that is of interest to you. You can modify your custom dashboard using the controls described in Configuring dashboards.

Creating

There is no restriction on the number of dashboards that you can create for a GCP project. To create a new dashboard, follow these steps:

  1. On the Stackdriver Monitoring console, select Dashboards > Create dashboard.
  2. (Optional) Enter a descriptive title for the dashboard. The default dashboard title is Untitled dashboard.

To add a chart to your dashboard, follow these steps:

  1. From the dashboard, select Add chart.
  2. Complete the dialog to define your chart and click Save. For detailed information on creating a chart, see Creating a new chart for a dashboard.

Repeat the previous process for each chart that you want to add to your dashboard.

Deleting

To delete a dashboard, follow these steps:

  1. From Monitoring, select Dashboards and then select the dashboard that you want to delete.
  2. Go to Dashboard settings and select Delete dashboard.
  3. Click Delete on the confirmation dialog.

Configuring dashboards

To change the default configuration for every chart on a predefined or custom dashboard, you use the dashboard toolbar. To override the dashboard settings for a chart, you use the chart's toolbar.

Dashboard toolbar

Each dashboard displays its name and a toolbar:

Show the dashboard toolbar.

  • Reset Zoom

    Removes your time interval and range of value selections. For more information, see Changing the graph resolution.

  • Settings

    Defines the default configuration for all charts on the dashboard. For all dashboards, the settings include the following:

    • Show all legends.
    • Hide chart legends.
    • X-Ray Mode: Show each graph line in white on a black background.
    • Color Mode: Show each graph line with a unique color on a white background.
    • Statistics Mode: Use color mode and add additional lines to display statistical information.

    For custom dashboards, you have additional options:

    • Copy dashboard. This option creates a duplicate dashboard with the same title as the original, but prefixed by Copy of.
    • Delete dashboard.
    • Define how many charts are displayed in a single row.
  • Fullscreen

    Displays the dashboard full screen. Not available for predefined dashboards.

  • Filter

    Displays all filter chips defined for your dashboard. Filters are defined by a resource and a value, and the options are automatically generated:

    • To add a filter chip, click Filter, select a resource from the resource menu, and then select a value from the value menu.
    • To remove a filter chip, click Dismiss on the chip.

    When you add multiple filter chips, all the charts display time series that meet all filter chip requirements.

  • Auto Refresh

    Disables or enables the redrawing all charts on a dashboard when newly available is available. Auto refresh is automatically disabled by certain analysis features. For example, if you modify the graph resolution, auto refresh is disabled.

  • Time-range selectors

    Sets the display period for all charts on the dashboard. Display period options range from 1 hour to 6 weeks. When you select a display period, all charts are redrawn. However, the auto refresh state is not changed. For more information, see Setting the display period.

  • Add chart button

    Opens the new-chart dialog. When you save the new chart, it's added to your custom dashboard.

    The Add chart button isn't available for predefined dashboards. For custom dashboards, it's available when your role is owner or editor.

Chart toolbar

Each chart on a dashboard has its own controls:

  • Toggle Legend

    Overrides the dashboard-toolbar setting. Click this button to hide or display the legend below the chart. For more information, see Showing and hiding legends.

  • Fullscreen

    Displays the chart full screen.

  • More

    Overrides the dashboard-toolbar settings for the display of the chart. In addition, the More options include the ability to download an image, in PNG-format, of the chart.

What's next

Czy ta strona była pomocna? Podziel się z nami swoją opinią:

Wyślij opinię na temat...

Stackdriver Monitoring
Potrzebujesz pomocy? Odwiedź naszą stronę wsparcia.