繁体   English   中英

kube.netes集群环境下如何获取locust loadtest数据到prometheus

[英]How to get the locust loadtest data to prometheus in the kubernetes cluster environment

我们已经在 Kube.netes 集群中部署了微服务应用程序。 我们需要在 Kube.netes 集群上运行 locust 负载测试工具,并将指标发送给 Prometheus。 如何在Kube.netes集群环境下获取locust loadtest数据到Prometheus。

如果您已经在您的服务中将指标发送到普罗米修斯,那么任何负载测试都会触发这些指标,就像任何其他 rest 调用一样。

使用像 prometheus-locust-exporter 这样的出口商: https://github.com/deliveryhero/helm-charts/tree/master/stable/prometheus-locust-exporter

您可以使用 Grafana 查看指标。

暂无
暂无

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

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