Documentation
¶
Index ¶
- func Alarm(config *AlarmConfig) core.OnReportHandler
- func FileReportLogger(config *ReportLogConfig, name string) core.OnReportHandler
- func LocalFileExporter(baseDir string, enableMeta bool) core.OnDownloadHandler
- func OnDownloadPathSuffixFilter(handler core.OnDownloadHandler, suffixes ...string) core.OnDownloadHandler
- func ReportLogger(config *ReportLogConfig, w io.Writer) core.OnReportHandler
- type AlarmConfig
- type ReportLogConfig
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Alarm ¶
func Alarm(config *AlarmConfig) core.OnReportHandler
func FileReportLogger ¶
func FileReportLogger(config *ReportLogConfig, name string) core.OnReportHandler
func LocalFileExporter ¶
func LocalFileExporter(baseDir string, enableMeta bool) core.OnDownloadHandler
func OnDownloadPathSuffixFilter ¶
func OnDownloadPathSuffixFilter(handler core.OnDownloadHandler, suffixes ...string) core.OnDownloadHandler
func ReportLogger ¶
func ReportLogger(config *ReportLogConfig, w io.Writer) core.OnReportHandler
Types ¶
type AlarmConfig ¶
type AlarmConfig struct { OnAlarm core.OnReportHandler OnRecover core.OnReportHandler Window int AlarmIfErrorGreaterThanEqual int RecoverIfInfoGreaterThanEqual int }
type ReportLogConfig ¶
Click to show internal directories.
Click to hide internal directories.