Skip to content

Commit

Permalink
Register thanos_alert_sender_errors_total metric.
Browse files Browse the repository at this point in the history
thanos-io#2100
Fixes thanos-io#2100

Signed-off-by: Kevin Hellemun <[email protected]>
  • Loading branch information
OGKevin committed Feb 5, 2020
1 parent 7c02430 commit 893be12
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/alert/alert.go
Original file line number Diff line number Diff line change
Expand Up @@ -313,7 +313,7 @@ func NewSender(
}, []string{"alertmanager"}),
}
if reg != nil {
reg.MustRegister(s.sent, s.dropped, s.latency)
reg.MustRegister(s.sent, s.errs, s.dropped, s.latency)
}
return s
}
Expand Down

0 comments on commit 893be12

Please sign in to comment.