metrics

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: May 23, 2025 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Updater

type Updater struct {
	BetterStackMonitorStatus *prometheus.GaugeVec
	// contains filtered or unexported fields
}

func NewUpdater

func NewUpdater(client betterstack.Client) *Updater

func (*Updater) Collect

func (u *Updater) Collect(ch chan<- prometheus.Metric)

func (*Updater) Describe

func (u *Updater) Describe(ch chan<- *prometheus.Desc)

func (*Updater) UpdatePromMetrics

func (u *Updater) UpdatePromMetrics()

Jump to

Keyboard shortcuts

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