Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func WatchGroup ¶ added in v0.6.0
func WatchGroup(mc MonitoringContext)
Types ¶
type BaseContext ¶ added in v0.5.1
type BaseContext struct {
Ctx context.Context
Logger *zap.SugaredLogger
NotifierMap map[string]notifications.Notifier
Group config.GroupConfig
Site string
Tags []string
}
type CheckContext ¶
type GroupStats ¶
type MonitoringContext ¶
type MonitoringContext struct {
Base BaseContext
Metrics *metrics.PrometheusMetrics
Check config.CheckConfig
Rules []rules.Rule
}
Click to show internal directories.
Click to hide internal directories.