Documentation ¶
Index ¶
- Variables
- func CutKernelFunction(profileLocationByteSlice []byte, maxKernelStackDepth int, sep string) ([]byte, bool)
- func GenerateProfile(args model.Profile, cfg *config.QuerierConfig, where string) (result model.ProfileTree, debug interface{}, err error)
- func GetLocationType(locations []string, locationValues [][]int, profileEventType string) []string
- func GrafanaProfile(args model.Profile, cfg *config.QuerierConfig, where string) (result *model.GrafanaProfileValue, debug interface{}, err error)
- func NewError(status string, message string) error
- func NewProfileDebug(sql string, querierDebug map[string]interface{}) (profileDebug model.Debug)
- func Profile(args model.Profile, cfg *config.QuerierConfig) (result model.ProfileTree, debug interface{}, err error)
- type ServiceError
Constants ¶
This section is empty.
Variables ¶
View Source
var InstanceProfileEventType = []string{"inuse_objects", "inuse_space", "goroutines", "mem-inuse"}
Functions ¶
func CutKernelFunction ¶
func GenerateProfile ¶
func GenerateProfile(args model.Profile, cfg *config.QuerierConfig, where string) (result model.ProfileTree, debug interface{}, err error)
func GetLocationType ¶
func GrafanaProfile ¶
func GrafanaProfile(args model.Profile, cfg *config.QuerierConfig, where string) (result *model.GrafanaProfileValue, debug interface{}, err error)
func NewProfileDebug ¶
func Profile ¶
func Profile(args model.Profile, cfg *config.QuerierConfig) (result model.ProfileTree, debug interface{}, err error)
Types ¶
type ServiceError ¶
func (*ServiceError) Error ¶
func (e *ServiceError) Error() string
Click to show internal directories.
Click to hide internal directories.