Creating uptime charts

You can create charts to display the status and latency of your uptime checks. If you haven't created an uptime check, you must create one prior to creating charts. See Creating uptime checks for details.

Uptime charts

You can use the Cloud Monitoring uptime_check/check_passed metric as the basis for a chart that displays the status of an uptime check. For example, assume that you have an uptime check configured to check locations every 1 minute and that you want to view the number of passed checks for each location in a 10-minute window.

To use Metrics Explorer to view the metrics for a monitored resource, follow these steps:

  1. In the Google Cloud Console, go to the Monitoring page.

    Go to Monitoring

  2. In the Monitoring navigation pane, click Metrics Explorer.
  3. Select the Configuration tab, and then enter or select a Resource type and a Metric. Use the following information to complete the fields:
    1. In the Metric field, enter check_passed. After this entry, the metric Check passed is displayed.
    2. If the Resource isn't automatically populated for you, then select the resource type that has the uptime check you want to monitor.
    The fully qualified name for this monitored resource is monitoring.googleapis.com/uptime_check/check_passed.
  4. (Optional) To configure how the data is viewed, use the Filter, Group By and Aggregator menus. For this chart, use the following settings:
    1. Leave the Aggregator field at the default value of none.
    2. For the Period field, select 10 m.
    3. Click Show advanced options and do the following:
      • For the Aligner field, select count true.
    For more information, see Selecting metrics.
Because the uptime check is configured to execute every minute, it is expected that every location would respond approximately 10 times in a 10-minute alignment period.

Uptime check latency charts

You can use the Monitoring uptime_check/request_latency metric as a basis for uptime check latency charts. Your choices for the aggregator fields let you create different charts. You can, for example, set these fields to display the maximum latency or to display the total latency.

To use Metrics Explorer to view the metrics for a monitored resource, follow these steps:

  1. In the Google Cloud Console, go to the Monitoring page.

    Go to Monitoring

  2. In the Monitoring navigation pane, click Metrics Explorer.
  3. Select the Configuration tab, and then enter or select a Resource type and a Metric. Use the following information to complete the fields:
    1. In the Metric field, enter uptime_check/request_latency. After this entry, the metric Request latency is displayed.
    2. If the Resource isn't automatically populated for you, then select the resource type that has the uptime check you want to monitor.
    The fully qualified name for this monitored resource is monitoring.googleapis.com/uptime_check/request_latency.
  4. (Optional) To configure how the data is viewed, use the Filter, Group By and Aggregator menus. For this chart, use the following settings:
    1. Leave the Aggregator field at the default value of none.
    2. For the Period field, select 10 m.
    3. Click Show advanced options and do the following:
      • For the Aligner field, select mean.
    For more information, see Selecting metrics.

What's next