promfm

package
v2.7.0-beta1 Latest Latest
Warning

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

Go to latest
Published: Oct 27, 2023 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ReportedValue = promauto.NewGaugeVec(
		prometheus.GaugeOpts{
			Name: "flux_monitor_reported_value",
			Help: "Flux monitor's last reported price",
		},
		[]string{"job_spec_id"},
	)

	SeenValue = promauto.NewGaugeVec(
		prometheus.GaugeOpts{
			Name: "flux_monitor_seen_value",
			Help: "Flux monitor's last observed value from target",
		},
		[]string{"job_spec_id"},
	)

	ReportedRound = promauto.NewGaugeVec(
		prometheus.GaugeOpts{
			Name: "flux_monitor_reported_round",
			Help: "Flux monitor's last reported round",
		},
		[]string{"job_spec_id"},
	)

	SeenRound = promauto.NewGaugeVec(
		prometheus.GaugeOpts{
			Name: "flux_monitor_seen_round",
			Help: "Last seen round by other node operators",
		},
		[]string{"job_spec_id"},
	)
)

Functions

func SetBigInt

func SetBigInt(gauge prometheus.Gauge, arg *big.Int)

SetBigInt sets a big.Int metric

func SetDecimal

func SetDecimal(gauge prometheus.Gauge, arg decimal.Decimal)

SetDecimal sets a decimal metric

func SetUint32

func SetUint32(gauge prometheus.Gauge, arg uint32)

SetUint32 sets a uint32 metric

Types

This section is empty.

Jump to

Keyboard shortcuts

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