Monitor Kafka Consumer Lag Metrics with Dynatrace

Summary: This thread explains how to access Kafka consumer lag metrics in Dynatrace, including where the data comes from and how to visualise lag for troubleshooting stream delays.

Hello there, I am trying to monitor Kafka Consumer Lag metrics using Dynatrace AM.

However, I am facing challenges when exporting these metrics out of the box. I need Lag metrics per Topic/partition and Consumer group. Any workaround/solution available? Please provide guidance on this topic. Thanks in advance!
Note. We are using the Cloudera-provided Kafka distribution.

Hi @sri9 ,

Have you tried to install Apache Kafka extension from Hub?

In this extension you can find these metrics related to Lag:

Hope it helps.

Regards,

Elena.

Hi Elena,

Thanks for your prompt response. Yes, I did, but still unable to get consumer/lag metrics on Dashboard.
Still puzzled where these metrics are :slightly_smiling_face: Thanks

Hi @sri9 ,

Welcome.

The consumer/lag can be get clicking on “customer-metrics”:

But about lag metrics, maybe you may face with a problem described here

Hope it helps.

Regards,

Elena.