-
Hi, I am running Kafka Broker with jmx_exporter. Below is the service file for the same. [Unit] Below is the yaml file for kafka ui logging: But when I run the kafka-ui jar, it is not able to fetch the jmx metrics http://:8080/api/clusters/Cluster-01/metrics -> {"items":[]} Below is the error log 2023-03-27 08:39:00,870 ERROR [boundedElastic-3] c.p.k.u.s.m.JmxMetricsRetriever: Error connecting to service:jmx:rmi:///jndi/rmi://10.25.1.56:7071/jmxrmi |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 3 replies
-
Hi, please share your kafka-ui configs |
Beta Was this translation helpful? Give feedback.
-
You're using prometheus rather than JMX. |
Beta Was this translation helpful? Give feedback.
You're using prometheus rather than JMX.
Please set
KAFKA_CLUSTERS_0_METRICS_TYPE: PROMETHEUS
property.