我们如何在Google Cloud Plarform中可视化Dataproc作业状态? [英] How can we visualize the Dataproc job status in Google Cloud Plarform?
问题描述
我们如何(通过仪表板)在Google Cloud Platform中可视化Dataproc作业状态?
How can we visualize (via Dashboards) the Dataproc job status in Google Cloud Platform?
我们要检查作业是否正在运行,以及它们的状态,例如运行,延迟,已阻止.最重要的是,我们还要设置警报(Stackdriver Alerting).
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.
推荐答案
在此页面中,您具有Stackdriver中所有可用的指标
In this page, you have all the metrics available in Stackdriver
https://cloud.google.com/monitoring/api/metrics_gcp#gcp-dataproc
您可以使用 cluster/job/submitted_count
, cluster/job/failed_count
和 cluster/job/running_count
创建仪表盘和指标
You could use cluster/job/submitted_count
, cluster/job/failed_count
and cluster/job/running_count
to create the dashboard and metrics
此外,您可以使用 cluster/job/completion_time
来警告长时间运行的作业,并使用 cluster/job/duration
检查作业是否处于待处理"状态很久了.
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.
这篇关于我们如何在Google Cloud Plarform中可视化Dataproc作业状态?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!