metrics

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Jan 10, 2024 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

View Source
const Namespace = "gke_metadata_server"

Variables

This section is empty.

Functions

func HandlerFor added in v0.2.0

func HandlerFor(registry *prometheus.Registry, l promhttp.Logger) http.Handler

func NewLatencyMillis added in v0.2.0

func NewLatencyMillis(subsystem string, labelNames []string) *prometheus.HistogramVec

func NewRegistry added in v0.2.0

func NewRegistry() *prometheus.Registry

func StartPusher added in v0.2.0

func StartPusher(registry *prometheus.Registry, url, jobName string) (context.CancelFunc, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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