monitoring

package
v1.4.0 Latest Latest
Warning

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

Go to latest
Published: Nov 12, 2020 License: MIT Imports: 4 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RegisterMonitoringHandlers

func RegisterMonitoringHandlers(mux *http.ServeMux)

Registers monitoring handlers on the provided mux. Note that using StartMonitoringHandler on a monitoring-only port is preferred.

func StartMonitoringHandler

func StartMonitoringHandler(hostPort string)

StartMonitoringHandler enables the prometheus and pprof monitoring handlers in the same mux on the specified host and port, which should not have anything else running on it.

Types

This section is empty.

Jump to

Keyboard shortcuts

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