Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // ExamsMarkedMetric is a prometheus metric for the amount of requested exams for watermarking ExamsMarkedMetric = promauto.NewCounter(prometheus.CounterOpts{ Name: "altklausur_ausleihe_exams_marked", Help: "The total number of requested exams", }) // TotalExamsMetric is a prometheus metric for the total amount of exams in the database TotalExamsMetric = promauto.NewGauge(prometheus.GaugeOpts{ Name: "altklausur_ausleihe_exams_total", Help: "The total number of exams", }) )
Functions ¶
func UpdateTotalExamsMetric ¶
UpdateTotalExamsMetric updates the TotalExamsMetric with the current value from the database
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.