SHARE
TWEET

Untitled

a guest Aug 19th, 2019 65 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. # Kafka Metric and policy mapping.
  2. my %metricPolicyHash = (
  3.                     "Leader_Election_Rate"          => "LeaderElectionRate",
  4.                     "Unclean_Leader_Elections_Rate" => "UncleanLeaderElectionsRate",
  5.                     "Under_Replicated_Partitions"   => "UnderReplicatedPartitions",
  6.                     "Leader_Count"                  => "LeaderCount",
  7.                     "Partition_Count"               => "PartitionCount",
  8.                     "All_Topics_Messages_In_Rate"   => "AllTopicsMessagesInRate",
  9.                     "All_Topics_Bytes_In_Rate"      => "AllTopicsBytesInRate",
  10.                     "All_Topics_Bytes_Out_Rate"     => "AllTopicsBytesOutRate",
  11.                     "ISR_Shrinks_Rate"              => "ISRShrinksRate",
  12.                     "ISR_Expands_Rate"              => "ISRExpandsRate",
  13.                     "Consumer_Requests_Rate"        => "ConsumerRequestsRate",
  14.                     "Produce_Requests_Rate"         => "ProduceRequestsRate",
  15.                     "Follower_Requests_Rate"        => "FollowerRequestsRate",
  16.                     "Consumer_Total_Time"           => "ConsumerTotalTime",
  17.                     "Consumer_Local_Time"           => "ConsumerLocalTime",
  18.                     "Consumer_Remote_Time"          => "ConsumerRemoteTime",
  19.                     "Consumer_Request_Queue_Time"   => "ConsumerRequestQueueTime",
  20.                     "Consumer_Response_Send_Time"   => "ConsumerResponseSendTime",
  21.                     "Produce_Total_Time"            => "ProduceTotalTime",
  22.                     "Produce_Local_Time"            => "ProduceLocalTime",
  23.                     "Produce_Remote_Time"           => "ProduceRemoteTime",
  24.                     "Produce_Request_Queue_Time"    => "ProduceRequestQueueTime",
  25.                     "Produce_Response_Send_Time"    => "ProduceResponseSendTime",
  26.                     "Follower_Total_Time"           => "FollowerTotalTime",
  27.                     "Follower_Local_Time"           => "FollowerLocalTime",
  28.                     "Follower_Remote_Time"          => "FollowerRemoteTime",
  29.                     "Follower_Request_Queue_Time"   => "FollowerRequestQueueTime",
  30.                     "Follower_Response_Send_Time"   => "FollowerResponseSendTime",
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Not a member of Pastebin yet?
Sign Up, it unlocks many cool features!
 
Top