Why are my Stackdriver Google Pub/Sub subscription/pull_request_count metric alerts broken?

自作多情 提交于 2020-01-06 05:04:06

问题


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?


回答1:


pubsub.googleapis.com/subscription/pull_request_count is still the correct name for this metric. The red metric is an indication of missing data. It looks like something is wrong with the underlying data for your project. Can you open a ticket with Google Cloud support and provide your project ID information so we can investigate further? Please reference this Stackoverflow question in your ticket.



来源:https://stackoverflow.com/questions/57486758/why-are-my-stackdriver-google-pub-sub-subscription-pull-request-count-metric-ale

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!