Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BoolToFloat64 ¶
func StringToFloat64 ¶ added in v0.5.0
Types ¶
type Metrics ¶
type Metrics struct { BlockNumber prometheus.Gauge ChainID *prometheus.GaugeVec CurrentProposals *prometheus.GaugeVec EpochLength prometheus.Gauge EpochStartHeight prometheus.Gauge NextValidatorStake *prometheus.GaugeVec PrevEpochKickout *prometheus.GaugeVec ProtocolVersion prometheus.Gauge SeatPrice prometheus.Gauge SyncingDesc prometheus.Gauge ValidatorExpectedBlocks *prometheus.GaugeVec ValidatorExpectedChunks *prometheus.GaugeVec ValidatorExpectedEndorsements *prometheus.GaugeVec ValidatorProducedBlocks *prometheus.GaugeVec ValidatorProducedChunks *prometheus.GaugeVec ValidatorProducedEndorsements *prometheus.GaugeVec ValidatorSlashed *prometheus.GaugeVec ValidatorStake *prometheus.GaugeVec ValidatorRank *prometheus.GaugeVec VersionBuild *prometheus.GaugeVec }
func (*Metrics) Register ¶
func (m *Metrics) Register(reg prometheus.Registerer)
Click to show internal directories.
Click to hide internal directories.