mirror of
https://github.com/SigNoz/signoz.git
synced 2025-12-22 18:06:35 +00:00
14 lines
615 B
Go
14 lines
615 B
Go
|
|
// Package nfmanager provides interfaces and implementations for alert notification grouping strategies.
|
||
|
|
package nfmanager
|
||
|
|
|
||
|
|
import (
|
||
|
|
"github.com/SigNoz/signoz/pkg/types/alertmanagertypes"
|
||
|
|
)
|
||
|
|
|
||
|
|
// NotificationManager defines how alerts should be grouped and configured for notification with multi-tenancy support.
|
||
|
|
type NotificationManager interface {
|
||
|
|
GetNotificationConfig(orgID string, ruleID string) (*alertmanagertypes.NotificationConfig, error)
|
||
|
|
SetNotificationConfig(orgID string, ruleID string, config *alertmanagertypes.NotificationConfig) error
|
||
|
|
DeleteNotificationConfig(orgID string, ruleID string) error
|
||
|
|
}
|