exp

package
v0.0.0-...-f8b7a73 Latest Latest
Warning

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

Go to latest
Published: Mar 16, 2019 License: GPL-3.0, BSD-2-Clause-Views Imports: 5 Imported by: 0

Documentation

Overview

将Go度量挂钩到expvar中 在任何/debug/metrics请求上,将注册表中的所有var加载到expvar,并执行常规expvar处理程序

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Exp

func Exp(r metrics.Registry)

exp将使用http.defaultservemux在“/debug/vars”上注册一个expvar支持的度量处理程序。

func ExpHandler

func ExpHandler(r metrics.Registry) http.Handler

exphandler将返回一个expvar支持的度量处理程序。

Types

This section is empty.

Jump to

Keyboard shortcuts

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