prometheus

package
v0.0.15 Latest Latest
Warning

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

Go to latest
Published: Oct 23, 2022 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewMetricsServeMux

func NewMetricsServeMux() *http.ServeMux

NewMetricsServeMux returns a new http.ServeMux that serves prometheus metrics at /metrics

func NewMetricsServer

func NewMetricsServer(addr string) *http.Server

NewMetricsServer returns a http.Server that serves prometheus metrics under /metrics

Types

This section is empty.

Jump to

Keyboard shortcuts

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