Documentation ¶
Overview ¶
Package prometheus configures, initializes and serves global application prometheus metrics.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Init ¶
func Init(prometheusListen string)
Init starts an HTTP server for the prometheus endpoint in the background.
func RecordBrightnessContrast ¶
RecordBrightnessContrast counts brightness and contrast stats used for discarding bad frames.
func RecordFitAndStitchResult ¶
func RecordFitAndStitchResult(result string)
RecordFitAndStitchResult counts fitAndStitch() successes and failure modes.
func RecordFrameDisposition ¶
func RecordFrameDisposition(disposition string)
RecordFrameDisposition counts in which way a frame was used, or discarded.
func RecordSequenceLength ¶
func RecordSequenceLength(length int)
RecordSequenceLength sets the number of frames stored in memory for the current train.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.