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

package exp

import "github.com/axiomzen/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


Package Files


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.

Package exp imports 6 packages (graph). Updated 2019-07-06. Refresh now. Tools for package owners.