package
0.0.0-20240712142914-5558735b4462
Repository: https://github.com/grafana/alerting.git
Documentation: pkg.go.dev
# Packages
No description provided by the author
# Functions
BuildReceiverConfiguration parses, decrypts and validates the APIReceiver.
BuildReceiverIntegrations creates integrations for each configured notification channel in GrafanaReceiverConfig.
DecodeState copied from decodeState in prometheus-alertmanager/silence/silence.go.
GetActiveReceiversMap returns all receivers that are in use by a route.
No description provided by the author
GetReceivers converts the internal receiver status into the API response.
NewGrafanaAlertmanager creates a new Grafana-specific Alertmanager.
NewGrafanaAlertmanagerMetrics creates a set of metrics for the Alertmanager.
NoopDecrypt is a GetDecryptedValueFn that returns a value without decrypting it.
PostableAlertsToAlertmanagerAlerts converts the PostableAlerts to a slice of *types.Alert.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
# Constants
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
# Variables
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
# Structs
AlertValidationError is the error capturing the validation errors faced on the alerts.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
GrafanaReceiverConfig represents a parsed and validated APIReceiver.
No description provided by the author
No description provided by the author
No description provided by the author
NilPeer and NilChannel implements the Alertmanager clustering interface.
NotifierConfig represents parsed GrafanaIntegrationConfig.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
# Interfaces
No description provided by the author
Configuration is an interface for accessing Alertmanager configuration.
MaintenanceOptions represent the configuration options available for executing maintenance of Silences and the Notification log that the Alertmanager uses.
State represents any of the two 'states' of the alertmanager.
# Type aliases
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
GetDecryptedValueFn is a function that returns the decrypted value of the given key.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
nolint:revive.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
SilenceState copied from state in prometheus-alertmanager/silence/silence.go.
No description provided by the author
No description provided by the author