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: 6

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func InitExposeMetrics

func InitExposeMetrics(exposeMetricsAddress string)

func InitPushMetrics

func InitPushMetrics(port, gatewayURL string)

func NeedExposeMetrics

func NeedExposeMetrics() bool

func NeedPushMetrics

func NeedPushMetrics() bool

func ReportBlockNumberGauge

func ReportBlockNumberGauge(exportedJob string)

func ReportInsertionElapsedTime

func ReportInsertionElapsedTime(exportedJob string)

func ReportTxsNumberGauge

func ReportTxsNumberGauge(exportedJob string)

func StartExposeMetrics

func StartExposeMetrics()

func UpdateBlockNumberGauge

func UpdateBlockNumberGauge(blockNumber float64)

func UpdateImpeachBlockNumberGauge

func UpdateImpeachBlockNumberGauge(blockNumber float64)

func UpdateInsertionElapsedTime

func UpdateInsertionElapsedTime(elapsed float64)

func UpdateTxsNumberGauge

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