最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

Looker dashboard or (visual of dashboard) broken alert using looker 4.0 API - Stack Overflow

programmeradmin2浏览0评论

In our company we have developed around 100+ dashboards where each dashboard has one or more visuals/graphs. I want to create an alert system using looker api (4.0) so that whenever dashboard or a visual of dashboard is broken (either due to lookml problem, table not found or anything else) there is an alert. Currently my solution is working only for the dashboards that have single visual/graph. I am using create_dashboard_render_task function to fetch the render_task.id which I put as an input to render_task function. The json response tells if the dashboard is broken or not. This is the portion of response I get.

{ "status_detail": "query failed: View Not Found", "result_format": "png", "width": 1200, "status": "failure", }

Now I want to have the same thing, but for the dashboards which have multiple visuals. I want to check each visual. i.e. if any visual of dashboard is broken I want a status like something given above. Could someone let me know which looker api methods/functions shall i use to achieve this goal.

发布评论

评论列表(0)

  1. 暂无评论