metric

package
v0.3.1 Latest Latest
Warning

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

Go to latest
Published: Sep 14, 2023 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