Following is a collection of helpful tips for Stackdriver Monitoring.
Alert policy triggers
You can create policies that trigger only if all the condition violations occur on a single resource in a group:
Use two or more conditions in your alert policy. Otherwise, the policy trigger options are not shown.
In the Policy triggers panel set Criteria to All conditions are met, and choose the option you want from the right-hand menu:
Follow any additional instructions in the help text to the right of the criteria.
For a list of the metrics available in the Stackdriver Monitoring Console, see Available metrics.
If you have a chart on a custom dashboard or group dashboard, then you can share and embed it on other sites:
Click Share in the settings menu on any chart. You are given an HTML snippet for an iframe.
Copy the iframe HTML snippet to any website or application that permits it.
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
timeframe=<val>parameter, where <val> can be
1hfor one hour,
6hfor six hours,
1dfor one day,
1wfor one week,
1Mfor one month, or
6wfor six weeks.
- autoRefresh: If you want your chart to refresh automatically, add
autoRefresh=trueto your query string parameters.
- timeframe: If you want a time frame other than the default, specify the
To stop sharing a chart:
- Select Share from the settings menu on the chart.
- Select Disable Sharing.
- Remove any iframes that reference the chart.
Insights: Understanding anomalies
For more information on recommended actions for optimizing your application, see Insights: Understanding Anomalies.
To configure alert policy notifications, see Notification options.