-
Notifications
You must be signed in to change notification settings - Fork 170
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
Unable to find kafka_connect_connector_metrics_* metrics in the kafka connect application #206
Comments
Hi, you have an example in this repo It definitely depends on the regular expression you defined. |
Thank you @hifly81 for the information. I have a follow up question if you could share some insights on that as well. I am trying to understand this concept of jmx exporting and and scraping metrics by prometheus. In the pattern of task-metrics defined in the link , $1 would be replaced by either the term "source/sink/connector" and for example we are interested in type sink-task-metrics which are many as per the confluent list So, $4 would be replaced by one of the sink-task-metric say sink-record-read-rate. So, the metric name as per the prometheus naming conventions would be - kafka_connect_sink_task_metrics_sink_record_read_rate However, in my case, i am interested in the connector-class metric of the type connector-metrics , but the name defined in the pattern does not have any variable or place holders, so the final prometheus metric name would just be kafka_connect_connector_metrics only and not kafka_connect_connector_metrics_connector_class. I appreciate your help! Thank you! |
Hi @ZealPatel15, |
Hi,
I am trying to export the kafka connect connector metrics - https://docs.confluent.io/platform/current/connect/monitoring.html#connector-metrics
and scrape it via prometheus. I followed the prometheus naming convention to add it to the system. - kafka_connect_connector_metrics_connector_class. But it doesn't show up.
Can somebody help out here, or if there is some other naming convention for these specific metrics? The other worker metrics do get exported.
The text was updated successfully, but these errors were encountered: