boulder/cmd/expiration-mailer
Phil Porada 17fb1b287f
cmd: Export prometheus metrics for TLS cert notBefore and notAfter fields (#6836)
Export new prometheus metrics for the `notBefore` and `notAfter` fields
to track internal certificate validity periods when calling the `Load()`
method for a `*tls.Config`. Each metric is labeled with the `serial`
field.

```
tlsconfig_notafter_seconds{serial="2152072875247971686"} 1.664821961e+09
tlsconfig_notbefore_seconds{serial="2152072875247971686"} 1.664821960e+09
```

Fixes https://github.com/letsencrypt/boulder/issues/6829
2023-04-24 16:28:05 -04:00
..
main.go cmd: Export prometheus metrics for TLS cert notBefore and notAfter fields (#6836) 2023-04-24 16:28:05 -04:00
main_test.go Re-enable errcheck linter (#6819) 2023-04-14 15:41:12 -04:00
send_test.go expiration-mailer: use simpler date format (#6688) 2023-02-23 17:04:15 -08:00