metric

package
v0.5.0-rc1 Latest Latest
Warning

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

Go to latest
Published: Jan 16, 2024 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Index

func Index(maxInFlight int, timeout time.Duration) http.Handler

Index returns a http.Handler to process the metrics exporting.

func Register

func Register(ctx context.Context, cs Collectors) (err error)

Register registers all metric collectors.

Types

type Collectors

type Collectors = []prometheus.Collector

Collectors holds the list of prometheus.Collector.

Jump to

Keyboard shortcuts

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