kafka_exporter icon indicating copy to clipboard operation
kafka_exporter copied to clipboard

The kafka_exporter argument kafka.labels is not valid

Open huangpeng0817 opened this issue 1 year ago • 2 comments

At startup, use --kafka.labels to define the cluster name. This parameter is not valid if it is not available in the monitoring data.

huangpeng0817 avatar Jan 12 '24 09:01 huangpeng0817

You can define a label like this: --kafka.labels=cluster=yourclustername It should show up in your metrics: kafka_brokers{cluster="yourclustername"} 3

erlfos avatar Jan 31 '24 13:01 erlfos

您可以像这样定义标签: --kafka.labels=cluster=yourclustername 它应该显示在您的指标中: kafka_brokers{cluster="yourclustername"} 3

good

huangpeng0817 avatar Feb 01 '24 10:02 huangpeng0817