fix metric name
This commit is contained in:
parent
a7a2eaf035
commit
7daecf7b23
|
|
@ -240,7 +240,7 @@ func (m *mailer) processCerts(allCerts []core.Certificate) {
|
|||
|
||||
err = m.sendNags(*reg.Contact, parsedCerts)
|
||||
if err != nil {
|
||||
m.stats.errorCount.With(prometheus.Labels{"type": "sendNags"}).Inc()
|
||||
m.stats.errorCount.With(prometheus.Labels{"type": "SendNags"}).Inc()
|
||||
m.log.AuditErr(fmt.Sprintf("Error sending nag emails: %s", err))
|
||||
continue
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue