Sharing charts

Using the Google Cloud Console

You can share a chart with others by sending them a parameterized URL.

Sharing a metrics explorer chart

To create a parameterized URL for a chart on Metrics Explorer, click Other options and then select Share by URL. You are given a dialog similar to the following:

Sharing a chart.

You can copy the link and paste it into an email, a browser, or another application.

Sharing a dashboard chart

To create a sharing URL for a chart on a dashboard:

  1. Click Other options and then select Share. 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.
  4. Click the Close button to dismiss the box.

When you share a chart by URL, you are sharing an active chart. To take a static screenshot of a chart, click Other options and select Download PNG.

Listing all shared charts

To see a list of all shared charts, click Settings and select the Public charts tab.

Unsharing a chart

To stop sharing a chart, do the following:

  1. Click Settings and select the Public charts tab.
  2. On the line that identifies the chart, click More options and then select Unshare.

Using the Stackdriver Monitoring console

You can share a chart with others by sending them a parameterized URL.

Sharing a metrics explorer chart

To create a parameterized URL for a chart on the Metrics Explorer:

  1. Click Other options, , above the Y-axis on the chart.
  2. Click Share by URL. After you click Share by URL, a dialog similar to the following is displayed.

    Sharing a chart.

    You can copy the link and paste it into an email, a browser, or another application.

To see a list of all shared charts, go to Dashboards > Public charts. You can copy the link for any chart and paste it into an email, a browser, or another application. From this page you can also stop sharing a particular chart.

Sharing a dashboard chart

To create a sharing URL for a chart on a dashboard:

  1. Click Other options, , above the Y-axis on the chart.
  2. Click Share. You are given an HTML snippet for an iframe.

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

  4. 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.
  5. Click the Close button to dismiss the box.

When you share a chart by URL, you are sharing an active chart. You can also take a static screenshot of a chart on a dashboard by choosing Other options > Download image option.

To stop sharing a chart:

  1. Go to the Dashboards > Public charts page.
  2. Identify the chart.
  3. Select Unshare.
Hai trovato utile questa pagina? Facci sapere cosa ne pensi:

Invia feedback per...

Stackdriver Monitoring