Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
2.7.3, 2.7.4
Description
From kafka 2.0.0 there has been addition of version tag in kafka.network.RequestMetrics.RequestsPerSec.request.* metrics.
This is breaking the the default Grafana dashboard provided by Ambari. On the Kafka - Home and Kafka - Hosts dashboards the Producer requests /s and Consumer requests /s graphs are failing to show any data.
To get the total count for a specific request type, the tool needs to be updated to aggregate across different versions.
Previous metric: kafka.network:type=RequestMetrics,name=RequestsPerSec,request=
{Produce|FetchConsumer|FetchFollower|...}New metric: kafka.network:type=RequestMetrics,name=RequestsPerSec,request={Produce|FetchConsumer|FetchFollower|...},version=INTEGER
Documentation of the Kafka change: https://cwiki.apache.org/confluence/display/KAFKA/KIP-272%3A+Add+API+version+tag+to+broker%27s+RequestsPerSec+metric