metrics

package
v0.47.0 Latest Latest
Warning

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

Go to latest
Published: Feb 26, 2020 License: MPL-2.0 Imports: 7 Imported by: 3

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Handler

func Handler(reg metrics.Registry) http.Handler

Types

type Server

type Server struct {
	// contains filtered or unexported fields
}

Server runs and controls a HTTP pprof interface.

func NewMetricsServer

func NewMetricsServer(port int, r metrics.Registry) *Server

func (*Server) Listen

func (p *Server) Listen()

Listen starts the HTTP server in the background.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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