在appengine中获取200和500请求的数量?



我试图从我的应用引擎使用指标资源管理器获得200和其他代码的数量。有办法得到这个吗?我一直得到1和2

在Google Cloud Platform控制台中,进入Logging>日志资源管理器,并运行以下查询,指定您感兴趣的时间段。

(protoPayload.status=200 OR httpRequest.status=200)
resource.type="gae_app"

同样适用于错误500。

(protoPayload.status=500 OR httpRequest.status=500)
resource.type="gae_app"

最新更新