Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Metrics ¶
type Metrics struct { PercentConnected prometheus.Gauge SubnetPercentConnected *prometheus.GaugeVec LocalStake prometheus.Gauge TotalStake prometheus.Gauge ValidatorSetsCached prometheus.Counter ValidatorSetsCreated prometheus.Counter ValidatorSetsHeightDiff prometheus.Gauge ValidatorSetsDuration prometheus.Gauge APIRequestMetrics metric.APIInterceptor // contains filtered or unexported fields }
func (*Metrics) Initialize ¶
func (m *Metrics) Initialize( namespace string, registerer prometheus.Registerer, whitelistedSubnets ids.Set, ) error
Initialize platformvm metrics
func (*Metrics) MarkVoteLost ¶
func (m *Metrics) MarkVoteLost()
func (*Metrics) MarkVoteWon ¶
func (m *Metrics) MarkVoteWon()
Click to show internal directories.
Click to hide internal directories.