Skip to content
This repository has been archived by the owner on Jan 8, 2019. It is now read-only.

Commit

Permalink
add the activity metrics from hdfs datanode
Browse files Browse the repository at this point in the history
(cherry picked from commit 31296c2)
  • Loading branch information
leochen4891 authored and vt0r committed Jun 19, 2018
1 parent 1a674af commit 305547a
Showing 1 changed file with 77 additions and 0 deletions.
77 changes: 77 additions & 0 deletions cookbooks/bcpc-hadoop/attributes/jmxtrans_agent.rb
Original file line number Diff line number Diff line change
Expand Up @@ -708,6 +708,83 @@
'resultAlias' => 'dn_data_node_info.%name%.#attribute#',
'type' => 'gauge',
'attributes' => 'RpcPort,XceiverCount'
},
{
'objectName' => 'Hadoop:service=DataNode,name=*',
'resultAlias' => 'dn_data_node_activity.DataNodeActivity.#attribute#',
'attributes' =>
'BlockChecksumOpAvgTime, ' \
'BlockChecksumOpNumOps, ' \
'BlockReportsAvgTime, ' \
'BlockReportsNumOps, ' \
'BlockVerificationFailures, ' \
'BlocksCached, ' \
'BlocksDeletedInPendingIBR, ' \
'BlocksGetLocalPathInfo, ' \
'BlocksInPendingIBR, ' \
'BlocksRead, ' \
'BlocksReceivedInPendingIBR, ' \
'BlocksReceivingInPendingIBR, ' \
'BlocksRemoved, ' \
'BlocksReplicated, ' \
'BlocksUncached, ' \
'BlocksVerified, ' \
'BlocksWritten, ' \
'BytesRead, ' \
'BytesWritten, ' \
'CacheReportsAvgTime, ' \
'CacheReportsNumOps, ' \
'CopyBlockOpAvgTime, ' \
'CopyBlockOpNumOps, ' \
'DataNodeActiveXceiversCount, ' \
'DatanodeNetworkErrors, ' \
'FlushNanosAvgTime, ' \
'FlushNanosNumOps, ' \
'FsyncCount, ' \
'FsyncNanosAvgTime, ' \
'FsyncNanosNumOps, ' \
'HeartbeatsAvgTime, ' \
'HeartbeatsNumOps, ' \
'HeartbeatsTotalAvgTime, ' \
'HeartbeatsTotalNumOps, ' \
'IncrementalBlockReportsAvgTime, ' \
'IncrementalBlockReportsNumOps, ' \
'LifelinesAvgTime, ' \
'LifelinesNumOps, ' \
'PacketAckRoundTripTimeNanosAvgTime, ' \
'PacketAckRoundTripTimeNanosNumOps, ' \
'RamDiskBlocksDeletedBeforeLazyPersisted, ' \
'RamDiskBlocksEvicted, ' \
'RamDiskBlocksEvictedWithoutRead, ' \
'RamDiskBlocksEvictionWindowMsAvgTime, ' \
'RamDiskBlocksEvictionWindowMsNumOps, ' \
'RamDiskBlocksLazyPersistWindowMsAvgTime, ' \
'RamDiskBlocksLazyPersistWindowMsNumOps, ' \
'RamDiskBlocksLazyPersisted, ' \
'RamDiskBlocksReadHits, ' \
'RamDiskBlocksWrite, ' \
'RamDiskBlocksWriteFallback, ' \
'RamDiskBytesLazyPersisted, ' \
'RamDiskBytesWrite, ' \
'ReadBlockOpAvgTime, ' \
'ReadBlockOpNumOps, ' \
'ReadsFromLocalClient, ' \
'ReadsFromRemoteClient, ' \
'RemoteBytesRead, ' \
'RemoteBytesWritten, ' \
'ReplaceBlockOpAvgTime, ' \
'ReplaceBlockOpNumOps, ' \
'SendDataPacketBlockedOnNetworkNanosAvgTime, ' \
'SendDataPacketBlockedOnNetworkNanosNumOps, ' \
'SendDataPacketTransferNanosAvgTime, ' \
'SendDataPacketTransferNanosNumOps, ' \
'TotalReadTime, ' \
'TotalWriteTime, ' \
'VolumeFailures, ' \
'WriteBlockOpAvgTime, ' \
'WriteBlockOpNumOps, ' \
'WritesFromLocalClient, ' \
'WritesFromRemoteClient'
}
]

Expand Down

0 comments on commit 305547a

Please sign in to comment.