【问题标题】:Kafka Producer jmx metrics missingKafka Producer jmx 指标缺失
【发布时间】:2019-11-16 16:52:25
【问题描述】:

我们在 OKD(支持 Red Hat OpenShift 的 Kubernetes Origin 社区发行版)上部署了 Spring Boot 应用程序。没有经过 devops 团队的太多调整,我们在 prometheus 中从 kubernetes-service-endpoints exporter 作业中抓取了 kafka 消费者指标,以及一些生产者指标,但仅适用于 kafka connect api,而不适用于标准 kafka 生产者 api。这是我猜该工作的配置:

https://github.com/prometheus/prometheus/blob/master/documentation/examples/prometheus-kubernetes.yml

为了收集丢失的内容,需要在抓取配置中进行哪些更改?

【问题讨论】:

标签: kubernetes apache-kafka prometheus kafka-producer-api openshift-origin


【解决方案1】:

这个带有千分尺的issue 是问题的根源。

所以,我们可以添加 jmx 导出器,或者等待问题解决。

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 2020-09-13
    • 1970-01-01
    • 2020-11-04
    • 2019-07-29
    • 1970-01-01
    • 1970-01-01
    • 2019-01-08
    • 2020-06-19
    相关资源
    最近更新 更多