Versions in this module Expand all Collapse all v2 v2.13.1 Oct 8, 2023 Changes in this version + type Alert struct + Annotations labels.Labels + EndsAt time.Time + GeneratorURL string + Labels labels.Labels + StartsAt time.Time + func (a *Alert) Hash() uint64 + func (a *Alert) Name() string + func (a *Alert) Resolved() bool + func (a *Alert) ResolvedAt(ts time.Time) bool + func (a *Alert) String() string + type Manager struct + func NewManager(o *Options, logger log.Logger) *Manager + func (n *Manager) Alertmanagers() []*url.URL + func (n *Manager) ApplyConfig(conf *config.Config) error + func (n *Manager) DroppedAlertmanagers() []*url.URL + func (n *Manager) Run(tsets <-chan map[string][]*targetgroup.Group) + func (n *Manager) Send(alerts ...*Alert) + func (n *Manager) Stop() + type Options struct + Do func(ctx context.Context, client *http.Client, req *http.Request) (*http.Response, error) + ExternalLabels labels.Labels + QueueCapacity int + Registerer prometheus.Registerer + RelabelConfigs []*relabel.Config Other modules containing this package github.com/zpascal/prometheus