prometheus

package
v0.0.0-...-f055b44 Latest Latest
Warning

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

Go to latest
Published: Dec 27, 2024 License: MIT Imports: 5 Imported by: 0

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

func RecordBrightnessContrast(avg float64, avgDev float64)

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.

Jump to

Keyboard shortcuts

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