Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BoolToFloat64 ¶
Types ¶
type Metrics ¶
type Metrics struct { Registry *prometheus.Registry // Global metrics ActiveSet *prometheus.GaugeVec BlockHeight *prometheus.GaugeVec ProposalEndTime *prometheus.GaugeVec SeatPrice *prometheus.GaugeVec SkippedBlocks *prometheus.CounterVec TrackedBlocks *prometheus.CounterVec UpgradePlan *prometheus.GaugeVec // Validator metrics Rank *prometheus.GaugeVec ValidatedBlocks *prometheus.CounterVec MissedBlocks *prometheus.CounterVec SoloMissedBlocks *prometheus.CounterVec Tokens *prometheus.GaugeVec IsBonded *prometheus.GaugeVec IsJailed *prometheus.GaugeVec Vote *prometheus.GaugeVec // Node metrics NodeBlockHeight *prometheus.GaugeVec NodeSynced *prometheus.GaugeVec }
Click to show internal directories.
Click to hide internal directories.