metrics

package
v0.0.0-...-77a5a62 Latest Latest
Warning

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

Go to latest
Published: Dec 17, 2023 License: GPL-3.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	CipReconciliationLoopsTotal = prometheus.NewCounterVec(
		prometheus.CounterOpts{
			Name: "rekuberate_carbon_intensity_provider_reconciliations_total",
			Help: "Number of total reconciliation loops for carbon intensity provider controller",
		},
		[]string{"resource"},
	)

	CipReconciliationLoopErrorsTotal = prometheus.NewCounterVec(
		prometheus.CounterOpts{
			Name: "rekuberate_carbon_intensity_provider_reconciliations_errors_total",
			Help: "Number of total failed reconciliation loops for carbon intensity provider controller",
		},
		[]string{"resource"},
	)

	CipLiveCarbonIntensityMetric = prometheus.NewGaugeVec(
		prometheus.GaugeOpts{
			Name: "rekuberate_carbon_intensity_provider_live_gramsperkilowatthour",
			Help: "Carbon Intensity (grCO2eq/KWh)",
		},
		[]string{"provider", "issuer", "zone"},
	)
)

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

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