github.com/axw/juju@v0.0.0-20161005053422-4bd6544d08d4/worker/introspection/doc.go (about) 1 // Copyright 2016 Canonical Ltd. 2 // Licensed under the AGPLv3, see LICENCE file for details. 3 4 // Package introspection defines the worker that can report internal agent state 5 // through the use of a machine local socket. 6 // 7 // The most interesting endpoints at this stage are: 8 // * `/debug/pprof/goroutine?debug=1` 9 // - prints out all the goroutines in the agent 10 // * `/debug/pprof/heap?debug=1` 11 // - prints out the heap profile 12 package introspection