How can we visualize the Dataproc job status in Google Cloud Plarform?

随声附和 提交于 2021-02-20 04:17:05

问题


How can we visualize (via Dashboards) the Dataproc job status in Google Cloud Platform?

We want to check if jobs are running or not, in addition of their status like running, delay, blocked. On top of it we want to set alerting (Stackdriver Alerting) as well.


回答1:


In this page, you have all the metrics available in Stackdriver

https://cloud.google.com/monitoring/api/metrics_gcp#gcp-dataproc

You could use cluster/job/submitted_count, cluster/job/failed_count and cluster/job/running_count to create the dashboard and metrics

Also, you could use cluster/job/completion_time to warn about long-running jobs and cluster/job/duration to check if jobs are enqueued in PENDING status for a long time.



来源:https://stackoverflow.com/questions/53047311/how-can-we-visualize-the-dataproc-job-status-in-google-cloud-plarform

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