github.com/juju/juju@v0.0.0-20240430160146-1752b71fcf00/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 // 9 // - /debug/pprof/goroutine?debug=1: 10 // prints out all the goroutines in the agent 11 // - /debug/pprof/heap?debug=1: 12 // prints out the heap profile 13 package introspection