Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Alarm2FileReporter ¶
type Alarm2FileReporter struct {
*plugin.PluginBase
}
Alarm2FileReporter 默认告警处理器,打印本地告警日志
func (*Alarm2FileReporter) Destroy ¶
func (g *Alarm2FileReporter) Destroy() error
Destroy 销毁插件,可用于释放资源
func (*Alarm2FileReporter) Init ¶
func (g *Alarm2FileReporter) Init(ctx *plugin.InitContext) error
Init 初始化插件
func (*Alarm2FileReporter) ReportAlarm ¶
func (g *Alarm2FileReporter) ReportAlarm(level int, message string) error
ReportAlarm 上报告警
Click to show internal directories.
Click to hide internal directories.