Metrics Explorer

Metrics Explorer lets you build charts for any metric collected by your project:

  • You can save charts you create with Metrics Explorer to a dashboard.
  • You can share charts you create with Metrics Explorer by their URL.
  • You can view the configuration for charts you create with Metrics Explorer in their JSON format.
  • You can use Metrics Explorer as a tool to explore data that you don't need on a dashboard.

The following screenshot shows a metric charted on the Metrics Explorer page:

Metric charted using Metrics Explorer

The Metrics Explorer interface consists of two primary regions:

  • A configuration region with two tabs:
    • Use the Metric tab to select the metric to explore. This tab brings up the metric-selector UI. For detailed information on how to select the metric of interest, see Selecting metrics.
    • Use the View Options tab to change the display characteristics of the chart. This tab brings up the chart-configuration UI.
  • A chart showing the selected metric.

Using Metrics Explorer

To view the metrics for a monitored resource using Metrics Explorer, do the following:

  1. In the Google Cloud Console, go to Monitoring or use the following button:

    Go to Monitoring

    The first time you access any Monitoring functionality for a Google Cloud project, the project is associated with a Workspace. If you've never used Monitoring, then a Workspace is automatically created. Otherwise, a dialog is displayed and you are asked to select between creating a Workspace and adding your project to an existing Workspace.

  2. In the Monitoring navigation pane, click Metrics Explorer.

  3. Specify the data to appear on the chart. For detailed information about the fields set in this step, see Selecting metrics.

    1. Ensure the Metric tab is selected:

      Display the metric-selection tab.

    2. Complete the Find resource type and metric box. You can select values from the menus, or you can enter the name.

    3. (Optional) To specify a subset of data to include, add filters to the Filter field.

    4. (Optional) To define define how multiple time series are combined and how each time series is processed, update the aggregation fields:

      • To group time series by a label, use the Group By field. Selecting a value for this field automatically selects a value for the Aggregator field.
      • To specify how multiple time series are combined, set the Aggregator field.
      • To configure the processing algorithm for individual time series, click Advanced Options.
  4. (Optional) The default view option for a chart is a line chart displayed in color mode. However, you can change both of these settings:

    • To change the chart mode, select the View options tab, and then select from the chart-mode menu. For more information on your choices, see View options.

    • To change the display-style for a chart, click Line to expand the pull-down menu. After you make a selection, that selection is listed adjacent to the pull-down menu. For examples of all chart types, see Dashboard widgets.

  5. (Optional) You can display multiple metrics on a single chart. If you want to display another metric, click Add Metric and repeat the previous two steps. A chart can display a maximum of 10 metrics.

  6. (Optional) To add the chart to a dashboard, click Save Chart, and then complete the dialog. You can save the chart to an existing dashboard or you can create a dashboard.

What's next