-
Notifications
You must be signed in to change notification settings - Fork 33
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Put an end to the 0.10.x
- Loading branch information
Showing
58 changed files
with
12,385 additions
and
6,847 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
language: java | ||
jdk: oraclejdk8 | ||
install: | ||
- mvn -N io.takari:maven:wrapper | ||
- ./mvnw install -DskipTests=true -Dmaven.javadoc.skip=true -B -V | ||
script: | ||
- echo "skipping tests" | ||
before_install: | ||
- chmod +x mvnw |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,184 @@ | ||
filters: | ||
# | ||
# Kafka volume metrics. | ||
# Notice: BytesInPerSec, BytesOutPerSec and MessagesInPerSec are performance metrics. | ||
# | ||
- include: | ||
domain: kafka.server | ||
bean: kafka.server:type=BrokerTopicMetrics,name=BytesInPerSec | ||
attribute: | ||
Count: | ||
metric_type: KAFKA_BROKER_VOLUMN | ||
alias: BytesIn | ||
OneMinuteRate: | ||
metric_type: KAFKA_BROKER_PERF | ||
alias: BytesInPerSec | ||
- include: | ||
domain: kafka.server | ||
bean: kafka.server:type=BrokerTopicMetrics,name=BytesOutPerSec | ||
attribute: | ||
Count: | ||
metric_type: KAFKA_BROKER_VOLUMN | ||
alias: BytesOut | ||
OneMinuteRate: | ||
metric_type: KAFKA_BROKER_PERF | ||
alias: BytesOutPerSec | ||
- include: | ||
domain: kafka.server | ||
bean: kafka.server:type=BrokerTopicMetrics,name=MessagesInPerSec | ||
attribute: | ||
Count: | ||
metric_type: KAFKA_BROKER_VOLUMN | ||
alias: MessagesIn | ||
OneMinuteRate: | ||
metric_type: KAFKA_BROKER_PERF | ||
alias: MessagesInPerSec | ||
|
||
# | ||
# Kafka performance metrics | ||
# | ||
- include: | ||
domain: kafka.network | ||
bean: kafka.network:type=RequestMetrics,name=RequestsPerSec,request=Produce | ||
attribute: | ||
OneMinuteRate: | ||
metric_type: KAFKA_BROKER_PERF | ||
alias: RequestsPerSec_Produce | ||
- include: | ||
domain: kafka.network | ||
bean: kafka.network:type=RequestMetrics,name=RequestsPerSec,request=FetchConsumer | ||
attribute: | ||
OneMinuteRate: | ||
metric_type: KAFKA_BROKER_PERF | ||
alias: RequestsPerSec_FetchConsumer | ||
- include: | ||
domain: kafka.network | ||
bean: kafka.network:type=RequestMetrics,name=RequestsPerSec,request=FetchFollower | ||
attribute: | ||
OneMinuteRate: | ||
metric_type: KAFKA_BROKER_PERF | ||
alias: RequestsPerSec_FetchFollower | ||
- include: | ||
domain: kafka.network | ||
bean: kafka.network:type=RequestMetrics,name=TotalTimeMs,request=Produce | ||
attribute: | ||
Mean: | ||
metric_type: KAFKA_BROKER_PERF | ||
alias: TotalTimeMs_Produce_Mean | ||
Count: | ||
metric_type: KAFKA_BROKER_PERF | ||
alias: TotalTimeMs_Produce_Count | ||
- include: | ||
domain: kafka.network | ||
bean: kafka.network:type=RequestMetrics,name=TotalTimeMs,request=FetchConsumer | ||
attribute: | ||
Mean: | ||
metric_type: KAFKA_BROKER_PERF | ||
alias: TotalTimeMs_FetchConsumer_Mean | ||
Count: | ||
metric_type: KAFKA_BROKER_PERF | ||
alias: TotalTimeMs_FetchConsumer_Count | ||
- include: | ||
domain: kafka.network | ||
bean: kafka.network:type=RequestMetrics,name=TotalTimeMs,request=FetchFollower | ||
attribute: | ||
Mean: | ||
metric_type: KAFKA_BROKER_PERF | ||
alias: TotalTimeMs_FetchFollower_Mean | ||
Count: | ||
metric_type: KAFKA_BROKER_PERF | ||
alias: TotalTimeMs_FetchFollower_Count | ||
- include: | ||
domain: kafka.network | ||
bean: kafka.network:type=SocketServer,name=NetworkProcessorAvgIdlePercent | ||
attribute: | ||
Value: | ||
metric_type: KAFKA_BROKER_PERF | ||
alias: NetworkProcessorAvgIdlePercent | ||
- include: | ||
domain: kafka.server | ||
bean: kafka.server:type=KafkaRequestHandlerPool,name=RequestHandlerAvgIdlePercent | ||
attribute: | ||
FiveMinuteRate: | ||
metric_type: KAFKA_BROKER_PERF | ||
alias: RequestHandlerAvgIdlePercent | ||
- include: | ||
domain: kafka.server | ||
bean: kafka.server:type=ReplicaFetcherManager,name=MaxLag,clientId=Replica | ||
attribute: | ||
Value: | ||
metric_type: KAFKA_BROKER_PERF | ||
alias: MaxLagBtwFollowerLeader | ||
# | ||
# Kafka availability metrics | ||
# | ||
- include: | ||
domain: java.lang | ||
bean: java.lang:type=Runtime | ||
attribute: | ||
Uptime: | ||
metric_type: KAFKA_BROKER_AVAIL | ||
alias: JVMUptime | ||
- include: | ||
domain: kafka.controller | ||
bean: kafka.controller:type=KafkaController,name=OfflinePartitionsCount | ||
attribute: | ||
Value: | ||
metric_type: KAFKA_BROKER_AVAIL | ||
alias: OfflinePartitionsCount | ||
- include: | ||
domain: kafka.controller | ||
bean: kafka.controller:type=KafkaController,name=ActiveControllerCount | ||
attribute: | ||
Value: | ||
metric_type: KAFKA_BROKER_AVAIL | ||
alias: ActiveControllerCount | ||
- include: | ||
domain: kafka.controller | ||
bean: kafka.controller:type=ControllerStats,name=LeaderElectionRateAndTimeMs | ||
attribute: | ||
Count: | ||
metric_type: KAFKA_BROKER_AVAIL | ||
alias: LeaderElectionRateAndTimeMs | ||
- include: | ||
domain: kafka.controller | ||
bean: kafka.controller:type=ControllerStats,name=UncleanLeaderElectionsPerSec | ||
attribute: | ||
Count: | ||
metric_type: KAFKA_BROKER_AVAIL | ||
alias: UncleanLeaderElectionsPerSec | ||
- include: | ||
domain: kafka.server | ||
bean: kafka.server:type=ReplicaManager,name=UnderReplicatedPartitions | ||
attribute: | ||
Value: | ||
metric_type: KAFKA_BROKER_AVAIL | ||
alias: UnderReplicatedPartitions | ||
- include: | ||
domain: kafka.server | ||
bean: kafka.server:type=ReplicaManager,name=PartitionCount | ||
attribute: | ||
Value: | ||
metric_type: KAFKA_BROKER_AVAIL | ||
alias: PartitionCount | ||
- include: | ||
domain: kafka.server | ||
bean: kafka.server:type=ReplicaManager,name=IsrShrinksPerSec | ||
attribute: | ||
Count: | ||
metric_type: KAFKA_BROKER_AVAIL | ||
alias: IsrShrinksPerSec | ||
- include: | ||
domain: kafka.server | ||
bean: kafka.server:type=ReplicaManager,name=IsrExpandsPerSec | ||
attribute: | ||
Count: | ||
metric_type: KAFKA_BROKER_AVAIL | ||
alias: IsrExpandsPerSec | ||
- include: | ||
domain: kafka.server | ||
bean: kafka.server:type=ReplicaManager,name=LeaderCount | ||
attribute: | ||
Value: | ||
metric_type: KAFKA_BROKER_AVAIL | ||
alias: LeaderCount |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
filters: | ||
- include: | ||
domain: kafka.consumer | ||
bean_regex: kafka.consumer:type=ConsumerFetcherManager,name=MaxLag,clientId=([-.\w]+) | ||
attribute: | ||
Value: | ||
metric_type: KAFKA_CONSUMER_OLD_HIGH | ||
alias: MaxLag | ||
- include: | ||
domain: kafka.consumer | ||
bean_regex: kafka.consumer:type=ConsumerFetcherManager,name=MinFetchRate,clientId=([-.\w]+) | ||
attribute: | ||
Value: | ||
metric_type: KAFKA_CONSUMER_OLD_HIGH | ||
alias: MinFetchRate | ||
- include: | ||
domain: kafka.consumer | ||
bean_regex: kafka.consumer:type=ConsumerTopicMetrics,name=MessagesPerSec,clientId=([-.\w]+) | ||
attribute: | ||
Count: | ||
metric_type: KAFKA_CONSUMER_OLD_HIGH | ||
alias: MessagesPerSec | ||
- include: | ||
domain: kafka.consumer | ||
bean_regex: kafka.consumer:type=ConsumerTopicMetrics,name=BytesPerSec,clientId=([-.\w]+) | ||
attribute: | ||
Count: | ||
metric_type: KAFKA_CONSUMER_OLD_HIGH | ||
alias: BytesPerSec | ||
- include: | ||
domain: kafka.consumer | ||
bean_regex: kafka.consumer:type=ZookeeperConsumerConnector,name=KafkaCommitsPerSec,clientId=([-.\w]+) | ||
attribute: | ||
Count: | ||
metric_type: KAFKA_CONSUMER_OLD_HIGH | ||
alias: KafkaCommitsPerSec | ||
- include: | ||
domain: kafka.consumer | ||
bean_regex: kafka.consumer:type=ZookeeperConsumerConnector,name=OwnedPartitionsCount,clientId=([-.\w]+),groupId=([-.\w]+) | ||
attribute: | ||
Value: | ||
metric_type: KAFKA_CONSUMER_OLD_HIGH | ||
alias: OwnedPartitionsCount |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
filters: | ||
- include: | ||
domain: kafka.producer | ||
bean_regex: kafka.producer:type=producer-metrics,client-id=([-.\w]+) | ||
attribute: | ||
request-rate: | ||
metric_type: KAFKA_PRODUCER | ||
alias: request-rate | ||
request-size-avg: | ||
metric_type: KAFKA_PRODUCER | ||
alias: request-size-avg | ||
# There is some problem. I can't find producer-topic-metrics in Kafka 0.10 | ||
- include: | ||
domain: kafka.producer | ||
bean_regex: kafka.producer:type=producer-topic-metrics,client-id=([-.\w]+) | ||
attribute: | ||
byte-rate: | ||
metric_type: KAFKA_PRODUCER | ||
alias: byte-rate-topic | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,57 @@ | ||
filters: | ||
- include: | ||
domain: kafka.server | ||
bean: kafka.server:type=BrokerTopicMetrics,name=BytesInPerSec,topic={topicname} | ||
attribute: | ||
Count: | ||
metric_type: KAFKA_TOPIC_PERF | ||
alias: BytesInPerSec | ||
- include: | ||
domain: kafka.server | ||
bean: kafka.server:type=BrokerTopicMetrics,name=BytesOutPerSec,topic={topicname} | ||
attribute: | ||
Count: | ||
metric_type: KAFKA_TOPIC_PERF | ||
alias: BytesOutPerSec | ||
- include: | ||
domain: kafka.server | ||
bean: kafka.server:type=BrokerTopicMetrics,name=MessagesInPerSec,topic={topicname} | ||
attribute: | ||
Count: | ||
metric_type: KAFKA_TOPIC_PERF | ||
alias: MessagesInPerSec | ||
- include: | ||
domain: kafka.server | ||
bean: kafka.server:type=BrokerTopicMetrics,name=BytesRejectedPerSec,topic={topicname} | ||
attribute: | ||
Count: | ||
metric_type: KAFKA_TOPIC_PERF | ||
alias: BytesRejectedPerSec | ||
- include: | ||
domain: kafka.server | ||
bean: kafka.server:type=BrokerTopicMetrics,name=FailedFetchRequestsPerSec,topic={topicname} | ||
attribute: | ||
Count: | ||
metric_type: KAFKA_TOPIC_PERF | ||
alias: FailedFetchRequestsPerSec | ||
- include: | ||
domain: kafka.server | ||
bean: kafka.server:type=BrokerTopicMetrics,name=FailedProduceRequestsPerSec,topic={topicname} | ||
attribute: | ||
Count: | ||
metric_type: KAFKA_TOPIC_PERF | ||
alias: FailedProduceRequestsPerSec | ||
- include: | ||
domain: kafka.server | ||
bean: kafka.server:type=BrokerTopicMetrics,name=TotalFetchRequestsPerSec,topic={topicname} | ||
attribute: | ||
Count: | ||
metric_type: KAFKA_TOPIC_PERF | ||
alias: TotalFetchRequestsPerSec | ||
- include: | ||
domain: kafka.server | ||
bean: kafka.server:type=BrokerTopicMetrics,name=TotalProduceRequestsPerSec,topic={topicname} | ||
attribute: | ||
Count: | ||
metric_type: KAFKA_TOPIC_PERF | ||
alias: TotalProduceRequestsPerSec |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
theme: jekyll-theme-cayman |
Oops, something went wrong.