Documentation ¶
Index ¶
- Constants
- type Config
- type Reporter
- func (s *Reporter) Destroy() error
- func (s *Reporter) Info() model.StatInfo
- func (s *Reporter) Init(ctx *plugin.InitContext) error
- func (s *Reporter) IsEnable(cfg sysconfig.Configuration) bool
- func (s *Reporter) Name() string
- func (s *Reporter) ReportStat(t model.MetricType, info model.InstanceGauge) error
- func (s *Reporter) Start() error
- func (s *Reporter) Type() common.Type
Constants ¶
View Source
const ( NoRecoverAll uint32 = 0 RecoverAll uint32 = 1 )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Reporter ¶
type Reporter struct { *plugin.PluginBase *common.RunContext // contains filtered or unexported fields }
Reporter 上报缓存信息的插件
func (*Reporter) IsEnable ¶
func (s *Reporter) IsEnable(cfg sysconfig.Configuration) bool
IsEnable enable
func (*Reporter) ReportStat ¶
func (s *Reporter) ReportStat(t model.MetricType, info model.InstanceGauge) error
ReportStat 这个插件不实现ReportStat接口,按照服务变化来收集统计信息
Click to show internal directories.
Click to hide internal directories.