weasel

package module
v0.0.0-...-65b68e1 Latest Latest
Warning

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

Go to latest
Published: Nov 30, 2015 License: MIT Imports: 6 Imported by: 0

README

Weasel

Eats gophers for breakfast

Comprehensive instrumentation library for Go applications.

Aims to handle metrics, error-tracking (via logging), and profiling in one simple package.

Currently only exports profiling information, but the rest is on the way

Works like Prometheus, relying on a server-poll of an HTTP endpoint to collect information. However, unlike Prometheus, we can optionally register with the collector, instead of relying on a service-discovery mechanism. This mechanism is not part of weasel, but is the recommended way to use it.

Profiling

Weasel is capable of automatically exporting pprof data through the same HTTP channels it securely exports metrics + error data.

The profiling code has its origins in netbug

LICENSE

MIT

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Handler

func Handler() http.Handler

Handler returns an http.Handler that provides access to the various profiler and debug tools in the /net/http/pprof and /runtime/pprof packages.

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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