agent

package
v0.0.0-...-077b43f Latest Latest
Warning

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

Go to latest
Published: Sep 27, 2017 License: Apache-2.0 Imports: 3 Imported by: 5

Documentation

Overview

Package agent provides an HTTP endpoint for a program providing diagnostics and statistics for a given task.

Index

Constants

This section is empty.

Variables

View Source
var (
	HttpAddr = "localhost:10120"

	// Errors is the channel to receive errors of pprof agent.
	Errors = make(chan error, 1)
)

Functions

func Start

func Start() (endpoint string)

Start starts the diagnostics agent on a host process. Once agent started, user can retrieve diagnostics via the HttpAddr endpoint.

Types

This section is empty.

Jump to

Keyboard shortcuts

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