package
0.5.1
Repository: https://github.com/solidnerd/alertmanager.git
Documentation: pkg.go.dev

# Functions

BuildPipeline builds a map of receivers to Stages.
BuildReceiverIntegrations builds a list of integration notifiers off of a receivers config.
GroupKey extracts a group key from the context.
GroupLabels extracts grouping label set from the context.
No description provided by the author
NewDedupStage wraps a DedupStage that runs against the given notification log.
NewEmail returns a new Email notifier.
NewHipchat returns a new Hipchat notification handler.
NewInhibitStage return a new InhibitStage.
NewOpsGenie returns a new OpsGenie notifier.
NewPagerDuty returns a new PagerDuty notifier.
NewPushover returns a new Pushover notifier.
NewRetryStage returns a new instance of a RetryStage.
NewSetNotifiesStage returns a new instance of a SetNotifiesStage.
NewSilenceStage returns a new SilenceStage.
NewSlack returns a new Slack notification handler.
NewVictorOps returns a new VictorOps notifier.
NewWaitStage returns a new WaitStage.
NewWebhook returns a new Webhook.
NotificationHash extracts a notification hash from the context.
Now extracts a now timestamp from the context.
ReceiverName extracts a receiver name from the context.
RepeatInterval extracts a repeat interval from the context.
WithGroupKey populates a context with a group key.
WithGroupLabels populates a context with grouping labels.
WithNotificationHash populates a context with a notification hash.
WithNow populates a context with a now timestamp.
WithReceiverName populates a context with a receiver name.
WithRepeatInterval populates a context with a repeat interval.

# Constants

MinTimeout is the minimum timeout that is set for the context of a call to a notification pipeline.

# Structs

DedupStage filters alerts.
Email implements a Notifier for email notifications.
Hipchat implements a Notifier for Hipchat notifications.
InhibitStage filters alerts through an inhibition muter.
An Integration wraps a notifier and its config to be uniquely identified by name and index from its origin in the configuration.
OpsGenie implements a Notifier for OpsGenie notifications.
PagerDuty implements a Notifier for PagerDuty notifications.
Pushover implements a Notifier for Pushover notifications.
RetryStage notifies via passed integration with exponential backoff until it succeeds.
SetNotifiesStage sets the notification information about passed alerts.
SilenceStage filters alerts through a silence muter.
Slack implements a Notifier for Slack notifications.
VictorOps implements a Notifier for VictorOps notifications.
WaitStage waits for a certain amount of time before continuing or until the context is done.
Webhook implements a Notifier for generic webhooks.
WebhookMessage defines the JSON object send to webhook endpoints.

# Interfaces

A Notifier notifies about alerts under constraints of the given context.
A Stage processes alerts under the constraints of the given context.

# Type aliases

FanoutStage executes its stages concurrently.
A MultiStage executes a series of stages sequencially.
RoutingStage executes the inner stages based on the receiver specified in the context.
StageFunc wraps a function to represent a Stage.