Documentation ¶
Index ¶
- func NewAggregatorHealthCheck(aggregator *Aggregator) actuator.HealthCheck
- type Aggregate
- type Aggregator
- func (a *Aggregator) Alerts(dashboardName string) Aggregate
- func (a *Aggregator) Reconfigure(cfg *config.Config)
- func (a *Aggregator) Register(handler string) <-chan bool
- func (a *Aggregator) Run(ctx context.Context)
- func (a *Aggregator) Silence(ctx context.Context, alertId, user string)
- func (a *Aggregator) Unregister(handler string)
- type Alert
- type BlockedAlert
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewAggregatorHealthCheck ¶
func NewAggregatorHealthCheck(aggregator *Aggregator) actuator.HealthCheck
Types ¶
type Aggregate ¶
type Aggregate struct { CheckTime time.Time Alerts []Alert Blocked []BlockedAlert }
type Aggregator ¶
func NewAggregator ¶
func NewAggregator(cfg *config.Config, clock clock.Clock) *Aggregator
func (*Aggregator) Alerts ¶
func (a *Aggregator) Alerts(dashboardName string) Aggregate
func (*Aggregator) Reconfigure ¶
func (a *Aggregator) Reconfigure(cfg *config.Config)
func (*Aggregator) Register ¶
func (a *Aggregator) Register(handler string) <-chan bool
func (*Aggregator) Run ¶
func (a *Aggregator) Run(ctx context.Context)
func (*Aggregator) Silence ¶
func (a *Aggregator) Silence(ctx context.Context, alertId, user string)
func (*Aggregator) Unregister ¶
func (a *Aggregator) Unregister(handler string)
type BlockedAlert ¶
Click to show internal directories.
Click to hide internal directories.