Skip to content

Commit 152bb19

Browse files
committed
”In a production Kafka cluster, an offline partition
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.
1 parent cfe434c commit 152bb19

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

prometheus/10-metrics-config.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,9 @@ data:
99
lowercaseOutputName: true
1010
jmxUrl: service:jmx:rmi:///jndi/rmi://127.0.0.1:5555/jmxrmi
1111
ssl: false
12-
whitelistObjectNames: ["kafka.server:*","java.lang:*"]
12+
whitelistObjectNames: ["kafka.controller:*","kafka.server:*","java.lang:*"]
1313
rules:
14+
- pattern : kafka.controller<type=KafkaController, name=(.+)><>(.*)
1415
- pattern : kafka.server<type=ReplicaFetcherManager, name=MaxLag, clientId=(.+)><>Value
1516
- pattern : kafka.server<type=BrokerTopicMetrics, name=(BytesInPerSec|BytesOutPerSec|MessagesInPerSec), topic=(.+)><>OneMinuteRate
1617
- pattern : kafka.server<type=KafkaRequestHandlerPool, name=RequestHandlerAvgIdlePercent><>OneMinuteRate

0 commit comments

Comments
 (0)