I have some alerts set up in Stackdriver to warn me if there are no pull requests for Pub/Sub subscriptions (implying that all my servers are down or broken). However, I noticed these alerts stopped working.
When I pull up the alert in Stackdriver, the Metric is highlighted in red. If I try to set up another alert with the subscription/pull_request_count
metric, it's not listed. The metric is also listed in the Pub/Sub monitoring docs, so I'd expect that it's valid.
How can I get this alert working again, or if for some reason this is no longer valid, is there another way to ensure that there are active subscribers at all times?