【发布时间】:2022-01-17 07:46:59
【问题描述】:
我在 Vertex AI IndexEndpoint 中部署了一个索引。根据DeployedIndex 的文档,我已将属性enable_access_logging 设置为True 以启用私有端点访问日志。
enable_access_logging
可选的。如果为 true,则将私有端点的访问日志发送到 StackDriver Logging。这些日志类似于标准服务器访问日志,包含每个 MatchRequest 的时间戳和延迟等信息。请注意,Stackdriver 日志可能会产生费用,尤其是在部署的索引接收到的每秒查询率 (QPS) 较高的情况下。在启用此选项之前估算您的成本。
但是,在云日志中,我只能看到 Vertex AI 审核日志,而看不到访问日志。在哪里可以找到包含每个请求的时间戳和延迟信息的日志?
已部署的索引配置
createTime: '2021-11-24T10:59:51.975949Z'
deployedIndexes:
- automaticResources:
maxReplicaCount: 1
minReplicaCount: 1
createTime: '2021-12-13T16:37:27.030230Z'
deploymentGroup: default
displayName: glove_brute_force_deployed_V1
enableAccessLogging: true
id: glove_brute_force_deployed_V1
index: projects/XXXXXXXXXXXX/locations/us-central1/indexes/XXXXXXXXXXXXXXXXXXX
indexSyncTime: '2021-12-13T20:19:00.874937Z'
privateEndpoints:
matchGrpcAddress: 10.242.0.5
displayName: index_endpoint_for_demo
etag: AMEw9yNMD_AR3V6LIrGln9Ye5PuWWYAOoJwxgSHs2T2Xt8iwAPv1mLOZTfaDMLFTAaBC
name: projects/XXXXXXXXXXXX/locations/us-central1/indexEndpoints/XXXXXXXXXXXXXXXXXXX
network: projects/XXXXXXXXXXXX/global/networks/NETWORK_ID
updateTime: '2021-11-24T10:59:53.271100Z'
云记录
【问题讨论】:
标签: python google-cloud-platform google-cloud-ml google-cloud-logging google-cloud-vertex-ai