airbnb / kafka-statsd-metrics2

Send Kafka Metrics to StatsD.
Apache License 2.0
135 stars 49 forks source link

kafka.server.FetcherLagMetrics are not reported #5

Closed horkhe closed 9 years ago

horkhe commented 9 years ago

In our server.properties file we specified:

external.kafka.statsd.metrics.exclude_regex=(kafka\.consumer\.FetchRequestAndResponseMetrics.*)|(.*ReplicaFetcherThread.*)|(kafka\.log\.Log\..*)|(kafka\.cluster\.Partition\..*)

But the kafka.server.FetcherLagMetrics.* are still not reported. Any insight on that will be greatly appreciate. We are using Kafka 2.10-0.8.2.0, and version 0.4.0 of the plugin.

alexism commented 9 years ago

Hi @horkhe

as of 0.8.2, there are 3 metrics related to lag:

So, indeed, kafka.server.FetcherLagMetrics.* is still a valid metric.

To investigate your issue, a few things come to my mind:

I hope it helps,

Alexis

horkhe commented 9 years ago

@alexism man, I should have run tcpdump before creating this issue. I do see FetcherLagMetrics traveling to our statsd server. I still need to understand why this metric does not appear in the Grafana UI when other do, but that is not a problem of the plugin.

Thank you very much for the detailed answer and the great plugin.