Unable to scrape kafka connect connector status and task status metrics

184 views
Skip to first unread message

Bhumika Khatri

unread,
May 20, 2022, 3:51:22 AM5/20/22
to Prometheus Users
Hi, 

I'm not able to fetch the metrics even after using correct pattern. I also followed https://github.com/prometheus/jmx_exporter/blob/master/example_configs/kafka-connect.yml provided on Prometheus. 

I tried to follow the exact same steps specified in this issue and was still unable to fetch it. https://github.com/prometheus/jmx_exporter/issues/663

Any help will be appreciated.

Thanks,
Bhumika Khatri

Brian Candler

unread,
May 20, 2022, 8:05:27 AM5/20/22
to Prometheus Users
Just saying "it doesn't work even though everything is correct" doesn't let anyone help you.

Bhumika Khatri

unread,
Jun 1, 2022, 7:47:17 AM6/1/22
to Brian Candler, Prometheus Users

Hi Brian,

 

I used this pattern to fetch the connector status in my kafka connect app.

 

 

Although using this pattern didn’t help me and I don’t see any metrics scrapped.

 

I followed the stack overflow link: https://stackoverflow.com/questions/62911647/missing-confluent-kafka-connect-metrics-using-jmx-exporter-for-prometheus.

 

And also went through this issue on GitHub: https://github.com/confluentinc/cp-docker-images/issues/808

 

Can someone let me know the correct pattern to scrape the connector and task status metrics. What am I missing?

 

Thanks,

Bhumika Khatri

 

 

From: promethe...@googlegroups.com <promethe...@googlegroups.com> on behalf of Brian Candler <b.ca...@pobox.com>
Date: Friday, May 20, 2022 at 8:06 AM
To: Prometheus Users <promethe...@googlegroups.com>
Subject: EXT: [prometheus-users] Re: Unable to scrape kafka connect connector status and task status metrics

EXTERNAL: Report suspicious emails to Email Abuse.

--
You received this message because you are subscribed to a topic in the Google Groups "Prometheus Users" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/prometheus-users/dqPnY_aDXM4/unsubscribe.
To unsubscribe from this group and all its topics, send an email to prometheus-use...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/prometheus-users/895f3352-01c6-4906-9891-5cbc7776412bn%40googlegroups.com.

Reply all
Reply to author
Forward
0 new messages