Pyroscope: Open Source Continuous Profiling Platform. Debug performance issues down to a single line of code.
Getting Started
- Install Pyrocope server
brew install pyroscope-io/brew/pyroscope
- Start Pyroscope server
pyroscope server
- Start your application using our Pyroscope Agent
package main
import "github.com/pyroscope-io/pyroscope/pkg/agent/profiler"
func main() {
profiler.Start(profiler.Config{
ApplicationName: "backend.purchases",
ServerAddress: "http://localhost:4040",
})
// your code goes here
}