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