Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type PromMetrics ¶
type PromMetrics struct { WalletBalance *prometheus.GaugeVec LatestHeight *prometheus.GaugeVec BroadcastErrors *prometheus.CounterVec }
func InitPromMetrics ¶
func InitPromMetrics(port int16) *PromMetrics
func (*PromMetrics) IncBroadcastErrors ¶ added in v0.1.3
func (m *PromMetrics) IncBroadcastErrors(chain, domain string)
func (*PromMetrics) SetLatestHeight ¶ added in v0.1.3
func (m *PromMetrics) SetLatestHeight(chain, domain string, height int64)
func (*PromMetrics) SetWalletBalance ¶
func (m *PromMetrics) SetWalletBalance(chain, address, denom string, balance float64)
Click to show internal directories.
Click to hide internal directories.