Documentation ¶
Overview ¶
Package tmemetrics contains the internals for tmengine metrics.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Collector ¶
type Collector struct {
// contains filtered or unexported fields
}
func NewCollector ¶
func (*Collector) UpdateMirror ¶
func (c *Collector) UpdateMirror(m MirrorMetrics)
func (*Collector) UpdateStateMachine ¶
func (c *Collector) UpdateStateMachine(m StateMachineMetrics)
type Metrics ¶
type Metrics struct { MirrorCommittingHeight uint64 MirrorCommittingRound uint32 MirrorVotingHeight uint64 MirrorVotingRound uint32 StateMachineHeight uint64 StateMachineRound uint32 }
Metrics is the set of metrics for an engine. This type is declared here, but aliased in [tmengine].
type MirrorMetrics ¶
type StateMachineMetrics ¶
Click to show internal directories.
Click to hide internal directories.