Documentation ¶
Index ¶
- 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 ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Reporter ¶
type Reporter struct { *basereporter.Reporter // contains filtered or unexported fields }
Reporter .
func (*Reporter) IsEnable ¶
func (s *Reporter) IsEnable(cfg sysconfig.Configuration) bool
IsEnable 是否启用
func (*Reporter) ReportStat ¶
func (s *Reporter) ReportStat(t model.MetricType, info model.InstanceGauge) error
ReportStat 上报统计信息
Click to show internal directories.
Click to hide internal directories.