Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[kafka-check] add under min ISR partition count metric #12108

Merged
merged 1 commit into from
May 31, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions kafka/datadog_checks/kafka/data/metrics.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -558,6 +558,13 @@ jmx_metrics:
Value:
metric_type: gauge
alias: kafka.replication.under_replicated_partitions
- include:
domain: 'kafka.server'
bean: 'kafka.server:type=ReplicaManager,name=UnderMinIsrPartitionCount'
attribute:
Value:
metric_type: gauge
alias: kafka.replication.under_min_isr_partition_count
- include:
domain: 'kafka.server'
bean: 'kafka.server:type=ReplicaManager,name=IsrShrinksPerSec'
Expand Down
1 change: 1 addition & 0 deletions kafka/metadata.csv
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ kafka.replication.max_lag,gauge,10,offset,,Maximum lag in messages between the f
kafka.replication.partition_count,gauge,10,,,Number of partitions across all topics in the cluster.,0,kafka,rep partition count,
kafka.replication.unclean_leader_elections.rate,gauge,10,event,second,Unclean leader election rate.,-1,kafka,rep leader dirty elect,
kafka.replication.under_replicated_partitions,gauge,10,,,Number of under replicated partitions.,-1,kafka,rep under replicated part,
kafka.replication.under_min_isr_partition_count,gauge,10,,,Number of under min ISR partitions.,-1,kafka,rep under min ISR part,
kafka.replication.offline_partitions_count,gauge,10,,,Number of partitions that don't have an active leader.,0,kafka,rep offline partitions count,
kafka.session.zookeeper.disconnect.rate,gauge,10,event,second,Zookeeper client disconnect rate.,-1,kafka,zookeeper disconnect rate,
kafka.session.zookeeper.expire.rate,gauge,10,event,second,Zookeeper client session expiration rate.,-1,kafka,zookeeper expiration rate,
Expand Down
1 change: 1 addition & 0 deletions kafka/tests/common.py
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@
"kafka.replication.offline_partitions_count",
"kafka.replication.partition_count",
"kafka.replication.under_replicated_partitions",
"kafka.replication.under_min_isr_partition_count",
# Rates
"kafka.messages_in.rate",
"kafka.net.bytes_in.rate",
Expand Down