package main import "github.com/pyroscope-io/client/pyroscope" func main() { pyroscope.Start(pyroscope.Config{ ApplicationName: "simple.golang.app", ServerAddress: "http://pyroscope-server:4040", Logger: pyroscope.StandardLogger, ProfileTypes: []pyroscope.ProfileType{ // these profile types are enabled by default: pyroscope.ProfileCPU, pyroscope.ProfileAllocObjects, pyroscope.ProfileAllocSpace, py