promfm

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Jun 22, 2023 License: MIT Imports: 4 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

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