package
0.3.0
Repository: https://github.com/matrixorigin/matrixcube.git
Documentation: pkg.go.dev

# Functions

AddRaftAdminCommandCompactCount admin command of compact raft log.
AddRaftAdminCommandCompactSucceedCount admin command of compact raft log succeed.
AddRaftAdminCommandConfChangeCount admin command of conf change.
AddRaftAdminCommandConfChangeRejectCount admin command of conf change been rejected.
AddRaftAdminCommandConfChangeSucceedCount admin command of conf change succeed.
AddRaftAdminCommandSplitCount admin command of split shard.
AddRaftAdminCommandSplitSucceedCount admin command of split shard succeed.
AddRaftAppendMsgsCount add raft append msgs.
AddRaftAppendRespMsgsCount add raft append resp msgs.
AddRaftHeartbeatMsgsCount add raft heatbeat msgs.
AddRaftHeartbeatRespMsgsCount add raft heatbeat resp msgs.
AddRaftProposalConfChangeCount add conf change.
AddRaftProposalNormalCount add normal.
AddRaftProposalReadIndexCount add read index.
AddRaftProposalReadLocalCount add read local.
AddRaftProposalTransferLeaderCount add transfer leader.
AddRaftReadyAppendCount add raft ready to append raft log.
AddRaftReadyCommitCount add raft ready to commit raft log.
AddRaftReadySendCount add raft ready to sent raft message.
AddRaftReadySnapshotCount add raft ready to append raft log.
AddRaftSnapshotMsgsCount add raft snapshot msgs.
AddRaftTransferLeaderMsgsCount add raft heatbeat msgs.
AddRaftVoteMsgsCount add raft vote msgs.
AddRaftVoteRespMsgsCount add raft vote resp msgs.
IncComandCount inc the command received.
MustRegister Delegate the prometheus MustRegister.
ObserveProposalBytes observe bytes per raft proposal.
ObserveRaftLogAppendDuration observe seconds raft log append.
ObserveRaftLogApplyDuration observe seconds raft log apply.
ObserveRaftLogLag observe raft log lag.
ObserveSnapshotBuildingDuration observe building seconds per snapshot.
ObserveSnapshotBytes observe bytes per snapshot.
ObserveSnapshotSendingDuration observe seconds per snapshot.
SetRaftApplyResultQueueMetric set raft apply result queue size.
SetRaftMsgQueueMetric set send raft message queue size.
SetRaftProposalBatchMetric set proposal batch size.
SetRaftReportQueueMetric set raft report queue size.
SetRaftRequestQueueMetric set raft request queue size.
SetRaftSnapQueueMetric set send raft snapshot queue size.
SetRaftStepQueueMetric set raft step queue size.
SetRaftTickQueueMetric set raft tick queue size.
SetShardsOnStore set the shards count and leader shards count on the current store.
SetStorageOnStore set total and free storage on the current store.
StartPush start push metric.

# Structs

Cfg metric cfg.