prometheus

package
v3.24.0 Latest Latest
Warning

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

Go to latest
Published: Apr 29, 2024 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddGaugeFunc

func AddGaugeFunc(name, help string, f func() float64)

func Enabled added in v3.2.0

func Enabled() bool

func IncrementErrorsTotal

func IncrementErrorsTotal(t string)

func Init

func Init()

func ObserveBufferSize

func ObserveBufferSize(t string, size int)

func SetBufferDefaultSize

func SetBufferDefaultSize(t string, size int)

func SetBufferMaxSize

func SetBufferMaxSize(t string, size int)

func StartDownloadingSegment

func StartDownloadingSegment() context.CancelFunc

func StartProcessingSegment

func StartProcessingSegment() context.CancelFunc

func StartQueueSegment added in v3.7.0

func StartQueueSegment() context.CancelFunc

func StartServer

func StartServer(cancel context.CancelFunc) error

func StartStreamingSegment added in v3.8.0

func StartStreamingSegment() context.CancelFunc

Types

This section is empty.

Jump to

Keyboard shortcuts

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