Skip to content
代码片段 群组 项目
未验证 提交 e36eab8d 编辑于 作者: Arun Sori's avatar Arun Sori
浏览文件

Return early in o11y alert query worker if o11y is not enabled globally

上级 e6eab22d
No related branches found
No related tags found
无相关合并请求
...@@ -12,6 +12,8 @@ class AlertQueryWorker ...@@ -12,6 +12,8 @@ class AlertQueryWorker
worker_has_external_dependencies! worker_has_external_dependencies!
def perform def perform
return unless License.feature_available?(:observability)
api_response = fetch_alerts api_response = fetch_alerts
return unless api_response return unless api_response
......
0% 加载中 .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册