【问题标题】:How to get the locust loadtest data to prometheus in the kubernetes cluster environmentkubernetes集群环境下如何获取locust loadtest数据到prometheus
【发布时间】:2022-02-16 06:13:04
【问题描述】:

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

【问题讨论】:

    标签: python kubernetes microservices prometheus locust


    【解决方案1】:

    如果您已经在服务中向 prometheus 发送了指标,那么任何负载测试都会触发这些指标,就像任何其他休息调用一样。

    【讨论】:

      【解决方案2】:

      使用 prometheus-locust-exporter 之类的导出器:https://github.com/deliveryhero/helm-charts/tree/master/stable/prometheus-locust-exporter

      您可以使用 Grafana 查看指标。

      【讨论】:

        猜你喜欢
        • 2021-04-13
        • 1970-01-01
        • 1970-01-01
        • 2020-03-26
        • 2019-11-29
        • 1970-01-01
        • 2014-09-25
        • 2019-12-11
        • 1970-01-01
        相关资源
        最近更新 更多