prometheus

package
v0.0.0-...-ce5093a Latest Latest
Warning

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

Go to latest
Published: May 24, 2024 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func HandleDefault

func HandleDefault(httpMux *http.ServeMux, opts ...Option)

func Handler

func Handler(opts ...Option) http.Handler

func MustRegister

func MustRegister(cs ...prometheus.Collector)

Types

type Option

type Option interface {
	// contains filtered or unexported methods
}

func WithDisableInstrumentMetricHandler

func WithDisableInstrumentMetricHandler() Option

func WithDisableProcessCollector

func WithDisableProcessCollector() Option

func WithDisableProcessExtCollector

func WithDisableProcessExtCollector() Option

func WithDiskUsageCollector

func WithDiskUsageCollector(path string) Option

func WithGoCollector

func WithGoCollector() Option

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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