# Functions
DedupAlerts will collect alert groups from all defined Alertmanager upstreams and deduplicate them, so we only return unique alerts.
DedupAutocomplete returns a list of autocomplete hints merged from all Alertmanager upstreams.
DedupColors returns a color map merged from all Alertmanager upstream color maps.
GetAlertmanagerByName returns an instance of Alertmanager by name or nil if not found.
GetAlertmanagers returns a list of all defined Alertmanager instances.
NewAlertmanager creates a new Alertmanager instance.
NewHTTPTransport handles the logic of creating a http.RoundTripper instance with properl tls.Config setup.
RegisterAlertmanager will add an Alertmanager instance to the list of instances used when pulling alerts from upstreams.
WithHTTPTransport option can be passed to NewAlertmanager in order to set a custom HTTP transport (http.RoundTripper implementation).
WithProxy option can be passed to NewAlertmanager in order to enable request proxying for unsee clients.
WithRequestTimeout option can be passed to NewAlertmanager in order to set a custom timeout for Alertmanager upstream requests.
# Structs
Alertmanager represents Alertmanager upstream instance.
# Type aliases
Option allows to pass functional options to NewAlertmanager().