Documentation ¶
Index ¶
- Constants
- type AlertManager
- func (a *AlertManager) Close() error
- func (a *AlertManager) PrepareAndSendEvent(alertPayload *AlertPayload) error
- func (a *AlertManager) SendJobEvent(attr *job.AlertAttrs)
- func (a *AlertManager) SendJobRunEvent(e *scheduler.AlertAttrs)
- func (a *AlertManager) SendReplayEvent(attr *scheduler.ReplayNotificationAttrs)
- func (a *AlertManager) SendResourceEvent(attr *resource.AlertAttrs)
- type AlertPayload
- type ReplayEventType
Constants ¶
View Source
const ( ReplayLifeCycle ReplayEventType = "replay-lifecycle" InfoSeverity = "INFO" WarningSeverity = "WARNING" CriticalSeverity = "CRITICAL" DefaultSeverity = WarningSeverity )
View Source
const ( MetricNotificationQueue = "notification_received_total" MetricNotificationWorkerSendErr = "notification_err_total" MetricNotificationSend = "notification_sent_successfully" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AlertManager ¶
func (*AlertManager) Close ¶
func (a *AlertManager) Close() error
func (*AlertManager) PrepareAndSendEvent ¶ added in v0.16.2
func (a *AlertManager) PrepareAndSendEvent(alertPayload *AlertPayload) error
func (*AlertManager) SendJobEvent ¶ added in v0.16.2
func (a *AlertManager) SendJobEvent(attr *job.AlertAttrs)
func (*AlertManager) SendJobRunEvent ¶ added in v0.16.2
func (a *AlertManager) SendJobRunEvent(e *scheduler.AlertAttrs)
func (*AlertManager) SendReplayEvent ¶ added in v0.16.2
func (a *AlertManager) SendReplayEvent(attr *scheduler.ReplayNotificationAttrs)
func (*AlertManager) SendResourceEvent ¶ added in v0.16.2
func (a *AlertManager) SendResourceEvent(attr *resource.AlertAttrs)
type AlertPayload ¶
type ReplayEventType ¶ added in v0.17.0
type ReplayEventType string
func (ReplayEventType) String ¶ added in v0.17.0
func (j ReplayEventType) String() string
Click to show internal directories.
Click to hide internal directories.