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
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.