exp

package
Version: v1.6.3 Latest Latest
Warning

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

Go to latest
Published: Jul 1, 2021 License: GPL-3.0 Imports: 5 Imported by: 4

Documentation

Overview

Package exp hooks go-metrics into expvar on any metrics request, loads all vars from the registry into expvar, and executes regular expvar handler.

Index

Constants

This section is empty.

Variables

This section is empty.

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.

Types

This section is empty.

Source Files

Jump to

Keyboard shortcuts

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