Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ChainMetrics ¶
type ChainMetrics struct {
BlocksProcessed prometheus.Counter
LatestProcessedBlock prometheus.Gauge
LatestKnownBlock prometheus.Gauge
VotesSubmitted prometheus.Counter
}
func NewChainMetrics ¶
func NewChainMetrics(chain string) *ChainMetrics
Click to show internal directories.
Click to hide internal directories.