Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The kafka_exporter argument kafka.labels is not valid #421

Open
huangpeng0817 opened this issue Jan 12, 2024 · 2 comments
Open

The kafka_exporter argument kafka.labels is not valid #421

huangpeng0817 opened this issue Jan 12, 2024 · 2 comments

Comments

@huangpeng0817
Copy link

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

@erlfos
Copy link

erlfos commented Jan 31, 2024

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

@huangpeng0817
Copy link
Author

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

good

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants