Creating Alert Policy in Cloud Monitoring with OpenCensus Metric

Viewed 90

I'd like to use an OpenCensus metric in a Cloud Monitoring (Stackdriver) Alert Policy.

When I try to click the Add button, I get This query must contain a resource type. error. The odd thing, is that I can view this metric in MQL and can chart it.

According to the MQL charts that us this metric, the Resource: field is blank, and the charts work fine. The MQL charts show a resource type (on metric hover) of knative_broker, dataflow_job, aws_rds_database, k8s_control_plane_component, aws_lambda_function, and 36 more.

What Resource type should be used to alert on Open Census metrics in Cloud Monitoring alerts?

1 Answers
Related