Documentation ¶
Index ¶
- Variables
- func GetControllerViews() []*view.View
- func GetControllerViewsWithResourceNameLabel() []*view.View
- func NewAppliedResourcesCollector() *prometheus.GaugeVec
- func NewBuildInfoCollector(version string) prometheus.Collector
- func RecordProcessStartTime() error
- func RegisterControllerOpenCensusViews() error
- func RegisterControllerOpenCensusViewsWithResourceNameLabel() error
- func RegisterPrometheusExporter(addr string) error
Constants ¶
This section is empty.
Variables ¶
View Source
var ( MReconcileOccupiedWorkers = stats.Int64("ReconcileOccupiedWorkers", "The number of occupied reconcile workers", stats.UnitDimensionless) MReconcileTotalWorkers = stats.Int64("ReconcileTotalWorkers", "The number of total reconcile workers", stats.UnitDimensionless) MReconcileRequests = stats.Int64("ReconcileRequests", "The number of reconcile requests", stats.UnitDimensionless) MInternalErrors = stats.Int64("InternalErrorsTotal", "The number of internal errors", stats.UnitDimensionless) MReconcileDuration = stats.Float64("ReconcileDuration", "The duration of reconcile requests", "seconds") MProcessStartTime = stats.Float64("ProcessStartTimeSeconds", "Start time of the process since unix epoch in seconds", "seconds") )
metrics defined in the format of OpenCensus
Functions ¶
func GetControllerViews ¶
func NewAppliedResourcesCollector ¶
func NewAppliedResourcesCollector() *prometheus.GaugeVec
metrics defined in the format of prometheus/client_golang
func NewBuildInfoCollector ¶
func NewBuildInfoCollector(version string) prometheus.Collector
func RecordProcessStartTime ¶
func RecordProcessStartTime() error
func RegisterControllerOpenCensusViews ¶
func RegisterControllerOpenCensusViews() error
func RegisterControllerOpenCensusViewsWithResourceNameLabel ¶
func RegisterControllerOpenCensusViewsWithResourceNameLabel() error
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.