mirror of
https://github.com/prometheus/alertmanager
synced 2025-02-20 04:37:07 +00:00
Fix spelling and comment style. (#1257)
This commit is contained in:
parent
29e441f88f
commit
5cb71e1def
@ -154,14 +154,14 @@ func (r *Route) Key() string {
|
|||||||
// RouteOpts holds various routing options necessary for processing alerts
|
// RouteOpts holds various routing options necessary for processing alerts
|
||||||
// that match a given route.
|
// that match a given route.
|
||||||
type RouteOpts struct {
|
type RouteOpts struct {
|
||||||
// The identifier of the associated notification configuration
|
// The identifier of the associated notification configuration.
|
||||||
Receiver string
|
Receiver string
|
||||||
|
|
||||||
// What labels to group alerts by for notifications.
|
// What labels to group alerts by for notifications.
|
||||||
GroupBy map[model.LabelName]struct{}
|
GroupBy map[model.LabelName]struct{}
|
||||||
|
|
||||||
// How long to wait to group matching alerts before sending
|
// How long to wait to group matching alerts before sending
|
||||||
// a notificaiton
|
// a notification.
|
||||||
GroupWait time.Duration
|
GroupWait time.Duration
|
||||||
GroupInterval time.Duration
|
GroupInterval time.Duration
|
||||||
RepeatInterval time.Duration
|
RepeatInterval time.Duration
|
||||||
|
Loading…
Reference in New Issue
Block a user