Documentation ¶
Index ¶
- Variables
- func BlockHeightSet(height int64)
- func BlockSyncerStatusSet(code int8)
- func ConnectedNodeDec()
- func ConnectedNodeInc()
- func GossipBroadcastBlocksCountInc()
- func GossipReceiveBlocksCountInc()
- func GossipReceiveCountInc()
- func GossipUDPRecvCountInc()
- func GossipUDPSendCountInc()
- func PackageBlockMetricsSet(usage float64)
- func RecordHandleReceivedCode(code int)
- func RecvQueueCountInc()
- func RegularMetricsRoutine()
- func RoutineCreateCounterObserve(value int)
- func SecondBufferDec()
- func SecondBufferInc()
- func SendQueueCountInc()
- func SubmitTxCountsMetricsInc()
- func TimeSyncDeltaSet(value float64)
- func TimeSyncerStatusSet(code int8)
- func TransactionInsertAdd(value float64)
- func TransactionInsertInc()
- func TxPoolMetricsDec()
- func TxPoolMetricsInc()
- func VerifyTransactionMetricsSet(usage float64)
Constants ¶
This section is empty.
Variables ¶
View Source
var ( RoutineCreateCodeCounter = promauto.NewCounterVec(prometheus.CounterOpts{ Name: "routine_create_summary", Help: "The summary for create new routine.", }, []string{"code"}, ) HandleReceivedMessageCodeCounter = promauto.NewCounterVec( prometheus.CounterOpts{ Name: "handle_received_message_codes", Help: "The counter that record received message code", }, []string{"code"}, ) TimeSyncrStatus = promauto.NewGauge(prometheus.GaugeOpts{ Name: "time_syncer_status", Help: "The status in time syncer.", }) BlockSyncrStatus = promauto.NewGauge(prometheus.GaugeOpts{ Name: "block_syncer_status", Help: "The status in time syncer.", }) )
View Source
var ( RespondTimeSyncRoutineGauge = promauto.NewGauge(prometheus.GaugeOpts{ Name: "routines_respond_time_sync", Help: "Record routine counts in time sync.", }) RespondGetSyncStatusGauge = promauto.NewGauge(prometheus.GaugeOpts{ Name: "routines_respond_get_sync_status", Help: "Record routine counts in get sync status.", }) )
Functions ¶
func BlockHeightSet ¶
func BlockHeightSet(height int64)
func BlockSyncerStatusSet ¶
func BlockSyncerStatusSet(code int8)
func ConnectedNodeDec ¶
func ConnectedNodeDec()
func ConnectedNodeInc ¶
func ConnectedNodeInc()
func GossipBroadcastBlocksCountInc ¶
func GossipBroadcastBlocksCountInc()
func GossipReceiveBlocksCountInc ¶
func GossipReceiveBlocksCountInc()
func GossipReceiveCountInc ¶
func GossipReceiveCountInc()
func GossipUDPRecvCountInc ¶
func GossipUDPRecvCountInc()
func GossipUDPSendCountInc ¶
func GossipUDPSendCountInc()
func PackageBlockMetricsSet ¶
func PackageBlockMetricsSet(usage float64)
func RecordHandleReceivedCode ¶
func RecordHandleReceivedCode(code int)
func RecvQueueCountInc ¶
func RecvQueueCountInc()
func RegularMetricsRoutine ¶
func RegularMetricsRoutine()
func RoutineCreateCounterObserve ¶
func RoutineCreateCounterObserve(value int)
func SecondBufferDec ¶
func SecondBufferDec()
func SecondBufferInc ¶
func SecondBufferInc()
func SendQueueCountInc ¶
func SendQueueCountInc()
func SubmitTxCountsMetricsInc ¶
func SubmitTxCountsMetricsInc()
func TimeSyncDeltaSet ¶
func TimeSyncDeltaSet(value float64)
func TimeSyncerStatusSet ¶
func TimeSyncerStatusSet(code int8)
func TransactionInsertAdd ¶
func TransactionInsertAdd(value float64)
func TransactionInsertInc ¶
func TransactionInsertInc()
func TxPoolMetricsDec ¶
func TxPoolMetricsDec()
func TxPoolMetricsInc ¶
func TxPoolMetricsInc()
func VerifyTransactionMetricsSet ¶
func VerifyTransactionMetricsSet(usage float64)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.