promreporter

package
v2.1.0-celo-20230511 Latest Latest
Warning

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

Go to latest
Published: May 11, 2023 License: MIT Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewPromReporter

func NewPromReporter(db *sql.DB, lggr logger.Logger, opts ...interface{}) *promReporter

Types

type PrometheusBackend

type PrometheusBackend interface {
	SetUnconfirmedTransactions(*big.Int, int64)
	SetMaxUnconfirmedAge(*big.Int, float64)
	SetMaxUnconfirmedBlocks(*big.Int, int64)
	SetPipelineRunsQueued(n int)
	SetPipelineTaskRunsQueued(n int)
}

Jump to

Keyboard shortcuts

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