observability

package
v0.0.26 Latest Latest
Warning

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

Go to latest
Published: Nov 22, 2024 License: GPL-3.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RegisterMetrics

func RegisterMetrics(collectors ...prometheus.Collector)

RegisterMetrics registers the provided Prometheus collectors.

func StartMetricsServer

func StartMetricsServer(ctx context.Context, addr string)

StartMetricsServer starts a Prometheus metrics server if it hasn't been started already.

func StopMetricsServer

func StopMetricsServer(ctx context.Context) error

StopMetricsServer gracefully stops the Prometheus metrics server.

Types

This section is empty.

Jump to

Keyboard shortcuts

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