chainmetrics

package
v0.5.2 Latest Latest
Warning

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

Go to latest
Published: Nov 25, 2019 License: GPL-3.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func InitExposeMetrics added in v0.5.0

func InitExposeMetrics(exposeMetricsAddress string)

func InitPushMetrics added in v0.5.0

func InitPushMetrics(port, gatewayURL string)

func NeedExposeMetrics added in v0.5.0

func NeedExposeMetrics() bool

func NeedPushMetrics added in v0.5.0

func NeedPushMetrics() bool

func ReportBlockNumberGauge

func ReportBlockNumberGauge(exportedJob string)

func ReportInsertionElapsedTime

func ReportInsertionElapsedTime(exportedJob string)

func ReportTxsNumberGauge

func ReportTxsNumberGauge(exportedJob string)

func StartExposeMetrics added in v0.5.0

func StartExposeMetrics()

func UpdateBlockNumberGauge added in v0.5.0

func UpdateBlockNumberGauge(blockNumber float64)

func UpdateImpeachBlockNumberGauge added in v0.5.0

func UpdateImpeachBlockNumberGauge(blockNumber float64)

func UpdateInsertionElapsedTime added in v0.5.0

func UpdateInsertionElapsedTime(elapsed float64)

func UpdateTxsNumberGauge added in v0.5.0

func UpdateTxsNumberGauge(txsNumber float64)

Types

This section is empty.

Jump to

Keyboard shortcuts

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