relayer

package
v0.1.5 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 1, 2024 License: Apache-2.0 Imports: 6 Imported by: 0

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)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL