Skip to content

Commit

Permalink
”In a production Kafka cluster, an offline partition
Browse files Browse the repository at this point in the history
may be impacting the producer clients, losing messages or causing back-pressure in the application.
This is most often a “site down” type of problem and will need to be addressed immediately.”

Excerpt from: Neha Narkhede, Gwen Shapira, and Todd Palino. ”Kafka: The Definitive Guide”.

We now export kafka_controller_kafkacontroller_value{name="OfflinePartitionsCount",} and friends.
See #140 for why.
  • Loading branch information
solsson committed Feb 3, 2018
1 parent cfe434c commit 152bb19
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion prometheus/10-metrics-config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,9 @@ data:
lowercaseOutputName: true
jmxUrl: service:jmx:rmi:///jndi/rmi://127.0.0.1:5555/jmxrmi
ssl: false
whitelistObjectNames: ["kafka.server:*","java.lang:*"]
whitelistObjectNames: ["kafka.controller:*","kafka.server:*","java.lang:*"]
rules:
- pattern : kafka.controller<type=KafkaController, name=(.+)><>(.*)
- pattern : kafka.server<type=ReplicaFetcherManager, name=MaxLag, clientId=(.+)><>Value
- pattern : kafka.server<type=BrokerTopicMetrics, name=(BytesInPerSec|BytesOutPerSec|MessagesInPerSec), topic=(.+)><>OneMinuteRate
- pattern : kafka.server<type=KafkaRequestHandlerPool, name=RequestHandlerAvgIdlePercent><>OneMinuteRate
Expand Down

0 comments on commit 152bb19

Please sign in to comment.