Documentation ¶
Index ¶
Constants ¶
View Source
const ( BUFFER_SIZE = 1024 UNICODE_NULL = "\x00" )
View Source
const ( // the maximum duration of off-cpu profile is 1h + <1s MAX_OFF_CPU_PROFILE_SPLIT_COUNT = 4000 DEFAULT_COMPRESSION_ALGO = "zstd" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Counter ¶
type Counter struct { RawCount int64 `statsd:"raw-count"` JavaProfileCount int64 `statsd:"java-profile-count"` GolangProfileCount int64 `statsd:"golang-profile-count"` EBPFProfileCount int64 `statsd:"ebpf-profile-count"` UncompressSize int64 `statsd:"uncompress-size"` CompressedSize int64 `statsd:"compressed-size"` TotalTime int64 `statsd:"total-time"` AvgTime int64 `statsd:"avg-time"` OffCpuSplitCount int64 `statsd:"off-cpu-split-count"` OffCpuSplitIntoCount int64 `statsd:"off-cpu-split-into-count"` OffCputNotSplitCount int64 `statsd:"off-cput-not-split-count"` }
type Decoder ¶
func NewDecoder ¶
func NewDecoder(index int, msgType datatype.MessageType, compressionAlgo string, offCpuSplittingGranularity int, platformData *grpc.PlatformInfoTable, inQueue queue.QueueReader, profileWriter *dbwriter.ProfileWriter, appServiceTagWriter *flow_tag.AppServiceTagWriter) *Decoder
func (*Decoder) GetCounter ¶
func (d *Decoder) GetCounter() interface{}
Click to show internal directories.
Click to hide internal directories.