Documentation
¶
Index ¶
- Constants
- func Build(confs []*config.Receiver, tmpl *template.Template) map[string]Fanout
- func GroupKey(ctx context.Context) (model.Fingerprint, bool)
- func GroupLabels(ctx context.Context) (model.LabelSet, bool)
- func Now(ctx context.Context) (time.Time, bool)
- func Receiver(ctx context.Context) (string, bool)
- func RepeatInterval(ctx context.Context) (time.Duration, bool)
- func WithGroupKey(ctx context.Context, fp model.Fingerprint) context.Context
- func WithGroupLabels(ctx context.Context, lset model.LabelSet) context.Context
- func WithNow(ctx context.Context, t time.Time) context.Context
- func WithReceiver(ctx context.Context, rcv string) context.Context
- func WithRepeatInterval(ctx context.Context, t time.Duration) context.Context
- type DedupingNotifier
- type Email
- type Fanout
- type Hipchat
- type InhibitNotifier
- type LogNotifier
- type Notifier
- type NotifierFunc
- type OpsGenie
- type PagerDuty
- type Pushover
- type RetryNotifier
- type Router
- type SilenceNotifier
- type Slack
- type Webhook
- type WebhookMessage