meta

package
v0.0.0-...-1f1d885 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 19, 2024 License: Apache-2.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ProfileKindProfile        = "profile"
	ProfileKindGoroutine      = "goroutine"
	ProfileKindHeap           = "heap"
	ProfileKindMutex          = "mutex"
	ProfileDataFormatSVG      = "svg"
	ProfileDataFormatText     = "text"
	ProfileDataFormatProtobuf = "protobuf"
	ProfileDataFormatJeprof   = "jeprof"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type BasicQueryParam

type BasicQueryParam struct {
	Begin      int64           `json:"begin_time"`
	End        int64           `json:"end_time"`
	Limit      int64           `json:"limit"`
	Targets    []ProfileTarget `json:"targets"`
	DataFormat string          `json:"data_format"`
}

type ProfileList

type ProfileList struct {
	Target    ProfileTarget `json:"target"`
	ErrorList []string      `json:"-"`
	TsList    []int64       `json:"timestamp_list"`
}

type ProfileStatus

type ProfileStatus int64
const (
	ProfileStatusFinished          ProfileStatus = 0
	ProfileStatusFailed            ProfileStatus = 1
	ProfileStatusRunning           ProfileStatus = 2
	ProfileStatusFinishedWithError ProfileStatus = 3
)

func (ProfileStatus) String

func (s ProfileStatus) String() string

type ProfileTarget

type ProfileTarget struct {
	Kind      string `json:"kind"`
	Component string `json:"component"`
	Address   string `json:"address"`
}

type StatusCounter

type StatusCounter struct {
	// contains filtered or unexported fields
}

func (*StatusCounter) AddStatus

func (s *StatusCounter) AddStatus(status ProfileStatus)

func (*StatusCounter) GetFinalStatus

func (s *StatusCounter) GetFinalStatus() ProfileStatus

type TargetInfo

type TargetInfo struct {
	ID           int64
	LastScrapeTs int64
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL