title: Using MQL with Google Cloud Monitoring (Stackdriver) Alerting Policy
body: <p>I have used <a href="https://cloud.google.com/monitoring/mql/reference" rel="nofollow noreferrer">MQL</a> to create charts in Google Cloud Monitoring that are a ratio of two metrics.</p>
  <p>I would like to create an alerting policy based on the MQL, but the UI in Cloud Console does not have a query editor, like it does in Metrics Explorer.</p>
  <p>Is there a way to use MQL when defining conditions for alerting policies using Google Cloud Monitoring (Stackdriver)?</p>