metrics

package
v0.0.0-...-412688d Latest Latest
Warning

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

Go to latest
Published: May 4, 2022 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var DefaultRegistry = metrics.NewRegistry()

Functions

func Exp

func Exp(r metrics.Registry)

Exp will register an expvar powered metrics handler with http.DefaultServeMux on "/debug/vars"

func ExpHandler

func ExpHandler(r metrics.Registry) http.Handler

ExpHandler will return an expvar powered metrics handler.

func Setup

func Setup(address string)

Setup starts a dedicated metrics server at the given address. This function enables metrics reporting separate from pprof.

Types

This section is empty.

Jump to

Keyboard shortcuts

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