metrics

package
v0.0.0-...-bd3dd7f Latest Latest
Warning

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

Go to latest
Published: Jan 18, 2024 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CollectMetrics

func CollectMetrics(toCollect []prometheus.Collector)

func NewLakeErrorGauge

func NewLakeErrorGauge() *prometheus.GaugeVec

func NewStatusGauge

func NewStatusGauge() *prometheus.GaugeVec

func RunPusher

func RunPusher(chain, name string)

func SinceInMilliseconds

func SinceInMilliseconds(start time.Time) float64

SinceInMilliseconds gets the time since the specified start in milliseconds.

func SinceInSeconds

func SinceInSeconds(start time.Time) float64

SinceInSeconds gets the time since the specified start in seconds.

Types

This section is empty.

Jump to

Keyboard shortcuts

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