metrics

package
v0.0.0-...-5b7b456 Latest Latest
Warning

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

Go to latest
Published: Sep 22, 2024 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Metrics

type Metrics struct {
	JobDurationSeconds *prometheus.HistogramVec
	JobsTotal          *prometheus.CounterVec
	JobsInProgress     *prometheus.GaugeVec
	ConstLabels        prometheus.Labels
	Registry           *prometheus.Registry
	FiberPrometheus    *fiberprometheus.FiberPrometheus
	// contains filtered or unexported fields
}

func NewMetrics

func NewMetrics() *Metrics

NewMetrics returns a new Metrics instance.

func (*Metrics) Init

func (m *Metrics) Init(app *fiber.App, notifChan chan service.ServiceEvent)

func (*Metrics) Run

func (m *Metrics) Run()

func (*Metrics) Shutdown

func (m *Metrics) Shutdown()

Jump to

Keyboard shortcuts

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