agent

package
v0.0.0-...-5c7ffcf Latest Latest
Warning

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

Go to latest
Published: Jul 2, 2024 License: Apache-2.0 Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddEvent

func AddEvent(key string, msg string)

for event

func AddStat

func AddStat(key string, value uint64)

for agent self 自身运行状态除了cpu,mem,还有些致命错误或重要统计,比如数据网关的push质量

func AddTableStat

func AddTableStat(table string, key string, value uint64)

for collect task 具体某个采集配置的统计信息

Types

type Manager

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

func NewManager

func NewManager(rs *registry.Service) *Manager

func (*Manager) Start

func (m *Manager) Start()

func (*Manager) Stop

func (m *Manager) Stop()

Directories

Path Synopsis
Package agentmeta 这个文件本来是放在 agent 包下, 但 agent 包下包含一些 manager, 可能会引起循环依赖, 故单独放到 agentmeta 包下
Package agentmeta 这个文件本来是放在 agent 包下, 但 agent 包下包含一些 manager, 可能会引起循环依赖, 故单独放到 agentmeta 包下

Jump to

Keyboard shortcuts

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