简体   繁体   English

Kubernetes-监控号码请求

[英]Kubernetes - monitor number requests

I have an app running on Google Container Engine. 我有一个在Google Container Engine上运行的应用程序。

I would like to monitor number requests per second my api is receiving how can I do this? 我想每秒监控我的api收到的请求数量,我该怎么办?

is there a way monitoring from historical metrics on Stackdriver as I am opted for Stackdriver Premium 当我选择Stackdriver Premium时,有没有一种方法可以从Stackdriver的历史指标进行监视

Looking at https://kubernetes.io/docs/tasks/debug-application-cluster/logging-stackdriver/ I see that Stackdriver is deployed in the cluster by default. 查看https://kubernetes.io/docs/tasks/debug-application-cluster/logging-stackdriver/,我发现Stackdriver默认部署在集群中。 It looks like that, according to https://cloud.google.com/monitoring/api/metrics , this includes the metrics you are looking for. 根据https://cloud.google.com/monitoring/api/metrics ,它看起来像这样,其中包括您要查找的指标。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM