go-ethereum: github.com/ethereum/go-ethereum/metrics/exp Index | Files

package exp

import "github.com/ethereum/go-ethereum/metrics/exp"

Hook go-metrics into expvar on any /debug/metrics request, load all vars from the registry into expvar, and execute regular expvar handler

Index

Package Files

exp.go

func Exp Uses

func Exp(r metrics.Registry)

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

func ExpHandler Uses

func ExpHandler(r metrics.Registry) http.Handler

ExpHandler will return an expvar powered metrics handler.

func Setup Uses

func Setup(address string)

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

Package exp imports 7 packages (graph) and is imported by 29 packages. Updated 2020-07-27. Refresh now. Tools for package owners.