Documentation ¶
Overview ¶
Package metrics is a prometheus exporter for kubeteach
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Exporter ¶
type Exporter struct { ExerciseSetPointsTotal *prometheus.Desc ExerciseSetPointsAchieved *prometheus.Desc ExerciseSetTasksWithoutPoints *prometheus.Desc ExerciseSetTasks *prometheus.Desc ExerciseSetActiveTasks *prometheus.Desc ExerciseSetPendingTasks *prometheus.Desc ExerciseSetSuccessfulTasks *prometheus.Desc ExerciseSetUnknownTasks *prometheus.Desc TaskState *prometheus.Desc // contains filtered or unexported fields }
Exporter represents a prometheus exporter for kubeteach
func (*Exporter) Collect ¶
func (e *Exporter) Collect(metrics chan<- prometheus.Metric)
Collect collects metrics for kubeteach
func (*Exporter) Describe ¶
func (e *Exporter) Describe(descs chan<- *prometheus.Desc)
Describe describes metrics for kubeteach
Click to show internal directories.
Click to hide internal directories.