Skip to content

fortytw2/weasel

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commits
 
 
 
 
 
 
 
 

Repository files navigation

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

About

net/debug/pprof as a `http.Handler` with no funky mounting

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages