counter

package
v0.3.0 Latest Latest
Warning

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

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

Documentation

Index

Constants

View Source
const (
	TIME_0 = 0
	TIME_3 = 3
	TIME_8 = 8

	ACTIVE_STAT_METHOD = 0
	ACTIVE_STAT_SQL    = 1
	ACTIVE_STAT_HTTPC  = 2
	ACTIVE_STAT_DBC    = 3
	ACTIVE_STAT_SOCKET = 4
)

Variables

View Source
var CounterStaticAgentBootInfo *pack.ParamPack

Functions

func ExecuteTasks

func ExecuteTasks(p *pack.CounterPack1, tasks []Task)

func ExecuteTasksTimeout

func ExecuteTasksTimeout(p *pack.CounterPack1, tasks []Task, ch chan bool)

func StartCounterManager

func StartCounterManager()

Types

type CounterManager

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

func NewCounterManager

func NewCounterManager() *CounterManager

func (*CounterManager) Poll

func (this *CounterManager) Poll()

type Item

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

type Task

type Task interface {
	// contains filtered or unexported methods
}

type TaskActiveTranCount

type TaskActiveTranCount struct {
}

func NewTaskActiveTranCount

func NewTaskActiveTranCount() *TaskActiveTranCount

func (*TaskActiveTranCount) CountingStatus

func (this *TaskActiveTranCount) CountingStatus(ctx *trace.TraceContext, p *pack.CounterPack1)

type TaskAgentInfo

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

func NewTaskAgentInfo

func NewTaskAgentInfo() *TaskAgentInfo

type TaskCounter

type TaskCounter struct {
}

type TaskExtraINFO

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

func NewTaskExtraINFO

func NewTaskExtraINFO() *TaskExtraINFO

type TaskHeapMem

type TaskHeapMem struct {
}

func NewTaskHeapMem

func NewTaskHeapMem() *TaskHeapMem

type TaskHttpc

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

func NewTaskHttpc

func NewTaskHttpc() *TaskHttpc

type TaskPackVersion

type TaskPackVersion struct {
}

func NewTaskPackVersion

func NewTaskPackVersion() *TaskPackVersion

type TaskProc

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

func NewTaskProc

func NewTaskProc() *TaskProc

type TaskRealtimeUser

type TaskRealtimeUser struct {
}

func NewTaskRealtimeUser

func NewTaskRealtimeUser() *TaskRealtimeUser

type TaskSql

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

func NewTaskSql

func NewTaskSql() *TaskSql

type TaskSystemPerf

type TaskSystemPerf struct {
}

func NewTaskSystemPerf

func NewTaskSystemPerf() *TaskSystemPerf

type TaskSystemPerfKube

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

func NewTaskSystemPerfKube

func NewTaskSystemPerfKube() *TaskSystemPerfKube

type TaskTransaction

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

func NewTaskTransaction

func NewTaskTransaction() *TaskTransaction

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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