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

Add druid_service and host_name labels to Prometheus exporter #12731

Closed
amirabbas8 opened this issue Jul 2, 2022 · 3 comments · Fixed by #12769
Closed

Add druid_service and host_name labels to Prometheus exporter #12731

amirabbas8 opened this issue Jul 2, 2022 · 3 comments · Fixed by #12769

Comments

@amirabbas8
Copy link

Some labels are missing from the Prometheus exporter. They were in the Statsd exporter, such as druid_service and host_name, Which makes the result of Prometheus exporter incompatible with the stated exporter.

It would be great to have the below configs also for Prometheus.

druid.emitter.statsd.includeHost
druid.emitter.statsd.dogstatsdServiceAsTag
@FrankChen021
Copy link
Member

The prometheus extension is a community contributed extension, you're welcome to do it by yourself or you have to to wait for someone volunteer to do it.

@liujianhuanzz
Copy link
Contributor

Some labels are missing from the Prometheus exporter. They were in the Statsd exporter, such as druid_service and host_name, Which makes the result of Prometheus exporter incompatible with the stated exporter.

It would be great to have the below configs also for Prometheus.

druid.emitter.statsd.includeHost
druid.emitter.statsd.dogstatsdServiceAsTag

image

@amirabbas8 Is this the result you want?

@amirabbas8
Copy link
Author

Yes. Also, it would be preferable that label names be like Statsd exporter.

following is an example of a metric in our stated exporter:

druid_jvm_bufferpool_capacity{bufferpoolName="direct",druid_service="druid/router",hostname="i002.kandoo.com:8888"}

@liujianhuanzz

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

Successfully merging a pull request may close this issue.

3 participants