Tips and Tricks

Following is a collection of helpful tips for Monitoring.

Available metrics

For a list of the predefined metrics in Monitoring, see the Metrics List. This list comes from the metricDescriptors.list method of the Monitoring API.

Chart sharing

If you have a chart on a custom dashboard or group dashboard, then you can share and embed it on other sites:

  1. Click Share in the settings menu on any chart. You are given an HTML snippet for an iframe.

  2. Copy the iframe HTML snippet to any website or application that permits it.

  3. If desired, change the size or other properties of the embedded chart using query parameters in the URL source for the iframe. Following are some special query parameters:

    • timeframe: If you want a time frame other than the default, specify the timeframe=<val> parameter, where <val> can be 1h for one hour, 6h for six hours, 1d for one day, 1w for one week, 1M for one month, or 6w for six weeks.
    • autoRefresh: If you want your chart to refresh automatically, add autoRefresh=true to your query string parameters.

To stop sharing a chart:

  1. Select Share from the settings menu on the chart.
  2. Select Disable Sharing.
  3. Remove any iframes that reference the chart.

Notification options

To configure alerting policy notifications, see Notification options.

Was this page helpful? Let us know how we did:

Send feedback about...

Stackdriver Monitoring