admin管理员组文章数量:1221307
In a GCP project with Vertex AI endpoints already deployed, I want to know if the monitoring is enabled with the google-cloud-aiplatform library.
How can I do it ?
For more context, I ran following commands:
Command Line Interface
gcloud config set project <my_GCP_project_id>
gcloud config set billing/quota_project <my_GCP_project_id>
gcloud auth login
gcloud auth application-default login
Python
from google.cloud import aiplatform
PROJECT_ID = <my_GCP_project_id>
LOCATION_ID = <my_GCP_location_id>
aiplatform.init(
project = PROJECT_ID,
location = LOCATION_ID,
)
last_endpoint = aiplatform.Endpoint.list(order_by="update_time desc")[0]
本文标签: Get the monitoring activation status of my GCP Vertex AI endpoint with PythonStack Overflow
版权声明:本文标题:Get the monitoring activation status of my GCP Vertex AI endpoint with Python? - Stack Overflow 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1739327354a2158313.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论