metrics

package
v0.0.0-...-bd7f250 Latest Latest
Warning

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

Go to latest
Published: Mar 14, 2024 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Metrics

type Metrics struct {
	NotebookCreation         *prometheus.CounterVec
	NotebookFailCreation     *prometheus.CounterVec
	NotebookCullingCount     *prometheus.CounterVec
	NotebookCullingTimestamp *prometheus.GaugeVec
	// contains filtered or unexported fields
}

Metrics includes metrics used in notebook controller

func NewMetrics

func NewMetrics(cli client.Client) *Metrics

func (*Metrics) Collect

func (m *Metrics) Collect(ch chan<- prometheus.Metric)

Collect implements the prometheus.Collector interface.

func (*Metrics) Describe

func (m *Metrics) Describe(ch chan<- *prometheus.Desc)

Describe implements the prometheus.Collector interface.

Jump to

Keyboard shortcuts

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