common

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: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type SysCollector

type SysCollector interface {
	Name() string
	Start()
	Stop()
}

系统指标采集器 这里并没有像 xflush-agent 一样 是很多细粒度采集方法, 而是只有一个很简单的 start 因此如果实现不一样(cadvisor/asar) 那么总体的执行流程就很不一样 不像 asar/vsar 只有细节的差异

type SysCollectorProvider

type SysCollectorProvider func(suffix string, interval time.Duration) (SysCollector, error)

Jump to

Keyboard shortcuts

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