github.com/pyroscope-io/pyroscope@v0.37.3-0.20230725203016-5f6947968bd0/pkg/agent/types/types.go (about)

     1  package types
     2  
     3  import "github.com/pyroscope-io/pyroscope/pkg/agent/spy"
     4  
     5  const (
     6  	DefaultSampleRate = 100 // 100 times per second
     7  	GoSpy             = spy.Go
     8  	PySpy             = spy.Python
     9  	RbSpy             = spy.Ruby
    10  )
    11  
    12  var DefaultProfileTypes = []spy.ProfileType{
    13  	spy.ProfileCPU,
    14  	spy.ProfileAllocObjects,
    15  	spy.ProfileAllocSpace,
    16  	spy.ProfileInuseObjects,
    17  	spy.ProfileInuseSpace,
    18  }