Pyroscope: profiling go apps

Pyroscope: Open Source Continuous Profiling Platform. Debug performance issues down to a single line of code.

Getting Started

  1. Install Pyrocope server brew install pyroscope-io/brew/pyroscope
  2. Start Pyroscope server pyroscope server
  3. 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
}
Publikováno v Go