Skip to content

Commit

Permalink
Add Kafka Metrics to Agent Whitelist (#303)
Browse files Browse the repository at this point in the history
* add kafka metrics to whitelist
  • Loading branch information
dwilsondo authored Sep 6, 2023
1 parent b20271e commit 3e2db3a
Showing 1 changed file with 15 additions and 8 deletions.
23 changes: 15 additions & 8 deletions cmd/do-agent/whitelist.go
Original file line number Diff line number Diff line change
Expand Up @@ -86,19 +86,26 @@ var dbaasWhitelist = map[string]bool{

"kafka_log_Log_Size_Value": true,

"kafka_server_BrokerTopicMetrics_BytesInPerSec_Count": true,
"kafka_server_BrokerTopicMetrics_BytesOutPerSec_Count": true,
"kafka_server_BrokerTopicMetrics_MessagesInPerSec_Count": true,
"kafka_server_BrokerTopicMetrics_ReplicationBytesInPerSec_Count": true,
"kafka_server_BrokerTopicMetrics_ReplicationBytesOutPerSec_Count": true,
"kafka_server_KafkaServer_linux_disk_read_bytes_Value": true,
"kafka_server_KafkaServer_linux_disk_write_bytes_Value": true,
"kafka_server_ReplicaManager_UnderReplicatedPartitions_Value": true,
"kafka_server_BrokerTopicMetrics_BytesInPerSec_Count": true,
"kafka_server_BrokerTopicMetrics_BytesOutPerSec_Count": true,
"kafka_server_BrokerTopicMetrics_MessagesInPerSec_Count": true,
"kafka_server_BrokerTopicMetrics_ReplicationBytesInPerSec_Count": true,
"kafka_server_BrokerTopicMetrics_ReplicationBytesOutPerSec_Count": true,
"kafka_server_KafkaServer_linux_disk_read_bytes_Value": true,
"kafka_server_KafkaServer_linux_disk_write_bytes_Value": true,
"kafka_server_ReplicaManager_UnderReplicatedPartitions_Value": true,
"kafka_server_ReplicaManager_OfflineReplicaCount_Value": true,
"kafka_server_ReplicaManager_UnderMinIsrPartitionCount_Value": true,
"kafka_server_ReplicaManager_IsrExpandsPerSec_Count": true,
"kafka_server_ReplicaManager_IsrShrinksPerSec_Count": true,
"kafka_server_group_coordinator_metrics_group_completed_rebalance_count": true,
"kafka_server_group_coordinator_metrics_offset_commit_count": true,

"kafka_network_RequestMetrics_RequestsPerSec_Count": true,
"kafka_network_RequestChannel_ResponseQueueSize_Value": true,
"kafka_network_RequestMetrics_TotalTimeMs_Count": true,

"kafka_controller_KafkaController_ActiveBrokerCount_Value": true,
"kafka_controller_KafkaController_ActiveControllerCount_Value": true,
"kafka_controller_KafkaController_OfflinePartitionsCount_Value": true,
"kafka_controller_KafkaController_PreferredReplicaImbalanceCount_Value": true,
Expand Down

0 comments on commit 3e2db3a

Please sign in to comment.